Mailing List Archive


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

[tlug] lvm volume with no volume group



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

and then activate it:

# vgchange -a y my_volume_group

or add it:

# vgextend my_volume_group /dev/sdg2

(activate would be my guess -- not adding it)

I don't wish to reformat it or otherwise lose data stored on the volume
if possible.

Other suggestions?

Shawn




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links