Operating System - HP-UX
1833777 Members
1965 Online
110063 Solutions
New Discussion

problem with Logical Volume

 
natsirt
Occasional Contributor

problem with Logical Volume

I have a problem in removing ang creating my logical volume.

When i do remove LV, i always get this message:

The command used to remove a logical volume, /sbin/lvremove, has
failed. The stderr output fromthe command is shown below. The
logical volume has not been removed.

lvremove: Couldn't query physical volume "/dev/dsk/c3t2d2":
The specified path does not correspond to physical volume attached to

this volume group
lvremove: Couldn't query physical volume "/dev/dsk/c0t10d2":
The specified path does not correspond to physical volume attached to

this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c3t2d2":
The specified path does not correspond to physical volume attached to

this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c0t10d2":
The specified path does not correspond to physical volume attached to

this volume group
lvlnboot: Couldn't query the list of physical volumes.
vgcfgbackup: Warning: couldn't query physical volume
"/dev/dsk/c3t2d2":
The specified path does not correspond to physical volume attached to
-------------------------------------------
and when i do create new LV, i always get this message

The command used to create logical volumes, /sbin/lvcreate, has
failed. The stderr output from the command is shown below. The
logical volume has not been created.

lvcreate: Warning: couldn't query physical volume "/dev/dsk/c3t2d2":
The specified path does not correspond to physical volume attached to

this volume group
lvcreate: Warning: couldn't query physical volume "/dev/dsk/c0t10d2":
The specified path does not correspond to physical volume attached to

this volume group
lvcreate: Couldn't query the list of physical volumes.
vgcfgbackup: Warning: couldn't query physical volume
"/dev/dsk/c3t2d2":
The specified path does not correspond to physical volume attached to

this volume group
vgcfgbackup: Warning: couldn't query physical volume
"/dev/dsk/c0t10d2":
The specified path does not correspond to physical volume attached to

this volume group
vgcfgbackup: Couldn't query the list of physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c3t2d2":
The specified path does not correspo

but the LV is successfully removed and created and when i mount it, i get this message,

/dev/vgbscs/lvol3: unrecognized file system
You have mail in /var/mail/root

Please advise.

Thank you.
2 REPLIES 2
Mridul Shrivastava
Honored Contributor

Re: problem with Logical Volume

You are getting errors about two physical volumes c3t2d2 and c0t10d2. Have you checked if this vg contain these PVs???

Check /etc/lvmtab if it has an entry for these PV ??

check ioscan, if these PV really exist or not ?

If these PVs are no more present and exist in lvmtab then please remove these PV entry from this VG.

As far as fsck error is concered try running fsck and then mount the LV.
Time has a wonderful way of weeding out the trivial
Khairy
Esteemed Contributor

Re: problem with Logical Volume

have any newly disks or changes done in the system previously?

it seems it cannot find c3t2d2 and c0t10d2.

Post the output :
# vgdisplay -v
# ioscan -funC disk

>>> "but the LV is successfully removed and created and when i mount it, i get this message,

dev/vgbscs/lvol3: unrecognized file system"

not sure what exactly u want to do. But from your post, it seems that you removed (delete) and recreate a logical volume. And you want to mount this logical volume.

This logical volume is raw and no data. To mount a logical volume, a filesystem must be created.
# newfs -F vxfs /dev/vgbscs/rlvol3

then only you can mount it.

Rgds