[linux-lvm] Can't mount or run fdisk on an existing logical volume, help!
sven at whgl.uni-frankfurt.de
Tue Jul 21 20:46:16 UTC 2009
Ray Van Dolson schrieb:
> On Tue, Jul 21, 2009 at 01:29:23PM -0700, Adam Olsen wrote:
>> On Tue, Jul 21, 2009 at 2:07 PM, Ray Van Dolson<rvandolson at esri.com> wrote:
>>> Hmm... can you do an fdisk on your LV now? That error doesn't look
>>> good though.
>> Nope, still says "unable to read"
>>> Are you able to run fdisk on each of the member physical volumes
>> I'm not sure how to do that. For example:
>> imgserv:/storage/# fsck /dev/sda3
>> fsck 1.41.3 (12-Oct-2008)
>> fsck: fsck.lvm2pv: not found
>> fsck: Error 2 while executing fsck.lvm2pv for /dev/sda3
>> Though, it looks like fsck.lvm2pv is not something that has actually
>> been created yet.
> Nono, don't do that... fsck is for filesystems :) Just run fdisk
> /dev/sda, run 'p' (for print) and see if you can see your LVM
> Just a poor man's way to check that /dev/sda is OK. Do this for the
> other PV members.
> Do not run fsck on it, that'll hose the data (if it even runs at all).
fdisk -l /dev/...
Should do the job aswell, if it's only about printing the partition table
More information about the linux-lvm