1834374 Members
2091 Online
110066 Solutions
New Discussion

fsck in logical volume .

 
subhashni
Regular Advisor

fsck in logical volume .

when i run fsck on logical volume I am getting error message like this:

cannot open the specified path.

unix4me
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: fsck in logical volume .

Hi:

First do a lvdisplay -v on the volume group
(e.g. vgdisplay -v /dev/vg02) and make sure that the logical volume in question display a status of available. Next, make sure that the device node, both raw and block exist.
Are you using the block device when the character device might be expected?
If it ain't broke, I can fix that.
Patrick Wallek
Honored Contributor

Re: fsck in logical volume .

You also need to make sure that the volume group that the lvol belongs to is activated.

vgchange -a y /dev/vg??
harry d brown jr
Honored Contributor

Re: fsck in logical volume .

Is there a reason why you were running an fsck? Did a filesystem become unavailable?

live free or die
harry
Live Free or Die
Roger Baptiste
Honored Contributor

Re: fsck in logical volume .

<>

If you are running fsck on "raw" lvnames,
it can come up with that error. Run
it on a the regular lv name.
eg: /dev/vg00/lvol5

If you still get the error, post the command
you are using .

-raj
Take it easy.