raid6 problem.

Robert Heller heller at deepsoft.com
Sat Aug 9 00:11:05 UTC 2025


Ok, if the volume group is vg0 and the volume name is myraid, then there 
should be a device

/dev/vg0/myraid, 
     ^    ^--- logical volume
     |----- Volume group
     
OR

/dev/mapper/vg0-myraid

is another path to the same place.

(There is another option under /dev/disk/by-id as well.)

so assuming you did something like (creating a Ext4 file system)

sudo /sbin/mkfs.ext4 /dev/vg0/myraid
sudo mkdir /myraid

/etc/fstab could then have

/dev/vg0/myraid /myraid ext4    defaults        1 2

Even better (hardwiring /dev/... in /etc/fstab is to be avoided whenever 
possible -- using LABEL= or UUID= is prefered to avoid boot time "crashes" due 
to hardware changes):

sudo /sbin/mkfs.ext4 -L MyRaid /dev/vg0/myraid
sudo mkdir /myraid 

then in /etc/fstab:

LABEL=MyRaid  /myraid ext4    defaults        1 2



At Fri, 8 Aug 2025 17:29:03 -0400 "Ubuntu user technical support,? not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> Got Q for admin types, I trying to run amanda on a bpi-m5.
> 
> I have created this raid6 on arm64 but can't seem to concoct a mount 
> recipe for /etc/fstab.
> 
> I have this:
> root at amanda:~# lvs
>    LV     VG  Attr       LSize  Pool Origin Data%  Meta%  Move Log 
> Cpy%Sync Convert
>    myraid vg0 rwi-a-r--- 10.50t 2.16
> 
> I have this seemingly done, lvm and mdadm are all installed.
> 
> Can anyone help?
> 
> Thank you.
> 
> Cheers, Gene Heskett, CET.

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services



More information about the ubuntu-users mailing list