Re: how to set md device to specific group at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Am 10.05.23 um 03:57 schrieb Benjammin2068:
On 5/9/23 8:25 PM, Benjammin2068 wrote:

Hey all,

I can't seem to find the answer (looking all around via google)...

I have a couple of RAID drives (/dev/md123, /dev/md124) I set up a long time ago (storage arrays) by hand... And have worked fine.

Tthey mount as root:root but I need them as root:disk

normally the filesystem defines owner/group

I can't seem to find where to change that.

what about uid=,gid= in the fstab?
works at least for vfat/sshfs

The arrays I made weren't explicitly listed -- AUTO was assembling them

that's obvious by /dev/md123 and make sure you rebuild that initrd to contain the changed /etc/mdadm.conf




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux