Possible Setup Error On New /dev/mdX Device

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

 



Good Day,

I would just like to know if an error was made as we see something out
of the norm after creating a mdX device. Created as follows :

# pvcreate /dev/sdf
# pvcreate /dev/sdg
# fdisk /dev/sdf (Created a partition with type fd)
# fdisk /dev/sdg (Created a partition with type fd)
# mdadm --create /dev/md3 -l 1 -n 2 -b internal missing /dev/sdf1
# mdadm --add /dev/md3 /dev/sdg1
# mdadm -Dbv /dev/md3 >> /etc/mdadm.conf
# dracut -f
# pvcreate /dev/md3
# vgextend vgData /dev/md3

The abnormality we now see is as follows :

# pvs
  PV         VG       Fmt  Attr PSize    PFree
  /dev/md1   vgSystem lvm2 a--    44.46g  7.39g
  /dev/md2   vgData   lvm2 a--   399.87g     0
  /dev/md3   vgData   lvm2 a--    29.98g     0
  /dev/sdc   vgBackup lvm2 a--  <100.00g     0
  /dev/sdg            lvm2 ---    30.00g 30.00g

As you can see, /dev/sdg is now present in the output. How bad is this
and can it be corrected ? I did create a VM on my laptop and recreated
as per the above and did not see the same result.

Regards

Shaun



[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