[slurm-users] using sacctmgr to change the parent of an account

Brian Andrus toomuchit at gmail.com
Wed Sep 8 16:30:57 UTC 2021


Yep. I do it all the time when I forget to add a parent. Also when a 
project/account changes who owns it.

sacctmgr will also tell you what it is going to change and gives you 30 
seconds to say yes, else it doesn't make the change.

Brian Andrus

On 9/8/2021 3:41 AM, byron wrote:
> Hi
>
> I've added a new account using sbank and have now discovered it should 
> have been added with the parent set. We've already accumulated a 
> couple of months of user data so I dont just want to delete it and 
> recreate it in the correct location.  I've had a read of the sacctmgr 
> command and think I may be able to modify the account to set a parent 
> but am a little unsure as I haven't seen any example of people doing 
> it online
>
> Is there any reason why the following wouldn't work?  I'm using 
> version 19.05.7 of slurm.
>
> sacctmgr modify account blah set parent=blahparent
>
> Also would it be ok to make this change while the system is running?
>
> Thanks



More information about the slurm-users mailing list