[CentOS] lvm
Peter Kjellstrom
cap at nsc.liu.seWed Jun 13 06:13:20 UTC 2007
- Previous message: [CentOS] lvm
- Next message: [CentOS] SMART errors Hardware_ECC_Recovered and Raw_Read_Error_Rate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wednesday 13 June 2007, Shawn wrote: > Hello, > > I have a physical volume with no volume group. > > # /sbin/pvscan -n > WARNING: only considering physical volumes in no volume group > PV /dev/sdg2 lvm2 [148.95 GB] > Total: 1 [148.95 GB] / in use: 0 [0 ] / in no VG: 1 [148.95 GB] > > Can I just create a volume group -- for example: > # vgcreate my_volume_group /dev/sdg2 Yes, this how you create a _new_ volume group using a _unused_ physical volume. If, as you say below, you have data on this device then this is most likely _not_ what you want. Maybe you should look into vgimport/vgscan/etc. /Peter > and then activate it: > > # vgchange -a y my_volume_group > > I don't wish to reformat it or otherwise lose data stored on the volume > if possible. > > Other suggestions? > > Shawn -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070613/5a29b3e5/attachment-0001.sig>
- Previous message: [CentOS] lvm
- Next message: [CentOS] SMART errors Hardware_ECC_Recovered and Raw_Read_Error_Rate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list