From: Adam Olsen <arolsen@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Can't mount or run fdisk on an existing logical volume, help!
Date: Tue, 21 Jul 2009 14:01:39 -0600 [thread overview]
Message-ID: <2473b43f0907211301m7e4092b3t8ccd496bb1371fe7@mail.gmail.com> (raw)
In-Reply-To: <20090721195830.GA30206@esri.com>
imgserv:/storage/# vgchange -ay
device-mapper: resume ioctl failed: Invalid argument
Unable to resume storage-storage (254:0)
1 logical volume(s) in volume group "storage" now active
imgserv:/storage/# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 storage lvm2 a- 1.44T 0
/dev/sdb1 storage lvm2 a- 1.09T 0
/dev/sdc1 storage lvm2 a- 1.09T 4.98G
imgserv:/storage/# pvdisplay
--- Physical volume ---
PV Name /dev/sda3
VG Name storage
PV Size 1.44 TB / not usable 1.51 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 378339
Free PE 0
Allocated PE 378339
PV UUID ddnHh1-BvAl-5zpd-8KFT-YnZ8-MWHp-pQAWs1
--- Physical volume ---
PV Name /dev/sdb1
VG Name storage
PV Size 1.09 TB / not usable 3.73 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 285949
Free PE 0
Allocated PE 285949
PV UUID Qhl3tF-JWTY-ORbb-liI9-XteR-vlY9-wtInW5
--- Physical volume ---
PV Name /dev/sdc1
VG Name storage
PV Size 1.09 TB / not usable 3.73 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 285949
Free PE 1275
Allocated PE 284674
PV UUID Z6h80h-oZfP-QMPW-iZdt-dGL0-haBJ-r93Ooi
On Tue, Jul 21, 2009 at 1:58 PM, Ray Van Dolson<rvandolson@esri.com> wrote:
> On Tue, Jul 21, 2009 at 12:55:50PM -0700, Adam Olsen wrote:
>> This pretty much sums it up:
>>
>> imgserv:/storage/# lvscan
>> � ACTIVE � � � � � �'/dev/storage/storage' [3.62 TB] inherit
>> imgserv:/storage/# fdisk /dev/storage/storage
>>
>> Unable to read /dev/storage/storage
>>
>> I can't mount it, access it with fdisk. �Here's the lvdisplay output:
>>
>> imgserv:/storage/# lvdisplay
>> � --- Logical volume ---
>> � LV Name � � � � � � � �/dev/storage/storage
>> � VG Name � � � � � � � �storage
>> � LV UUID � � � � � � � �Cw8aAr-YHsR-oVfH-7AAx-2ppa-Zm3M-U9z1eA
>> � LV Write Access � � � �read/write
>> � LV Status � � � � � � �available
>> � # open � � � � � � � � 0
>> � LV Size � � � � � � � �3.62 TB
>> � Current LE � � � � � � 948962
>> � Segments � � � � � � � 3
>> � Allocation � � � � � � inherit
>> � Read ahead sectors � � auto
>> � - currently set to � � 256
>> � Block device � � � � � 254:0
>>
>> This is on debian etch. � This is what I see at the end of dmesg:
>>
>> cdrom: open failed.
>> hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
>> hdc: packet command error: error=0x54
>>
>> Which I don't think has anything to do with this problem, as hdc is
>> NOT one of the physical volumes... it's a cdrom drive.
>>
>> Is there anything I can do to debug this?
>>
>
> You've already done a vgchange -ay on the volgroup? �What's the output
> of pvs/pvdisplay?
>
> Ray
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
--
Adam Olsen
SendOutCards.com
http://www.vimtips.org
http://last.fm/user/synic
next prev parent reply other threads:[~2009-07-21 20:02 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-21 19:55 [linux-lvm] Can't mount or run fdisk on an existing logical volume, help! Adam Olsen
2009-07-21 19:58 ` Ray Van Dolson
2009-07-21 20:01 ` Adam Olsen [this message]
2009-07-21 20:07 ` Ray Van Dolson
2009-07-21 20:29 ` Adam Olsen
2009-07-21 20:35 ` Ray Van Dolson
2009-07-21 20:46 ` Sven Eschenberg
2009-07-21 20:47 ` Adam Olsen
2009-07-21 21:07 ` Ray Van Dolson
2009-07-21 21:24 ` Adam Olsen
2009-07-21 21:59 ` Ray Van Dolson
2009-07-21 22:09 ` Adam Olsen
2009-07-21 22:21 ` Ray Van Dolson
2009-07-21 22:43 ` Adam Olsen
2009-07-21 22:50 ` Ray Van Dolson
2009-07-22 13:08 ` Bryn M. Reeves
2009-07-24 1:38 ` Ron Johnson
2009-07-22 13:17 ` Bryn M. Reeves
2009-07-22 5:26 ` Ron Johnson
2009-07-22 5:41 ` Adam Olsen
2009-07-22 5:49 ` Ron Johnson
2009-07-22 6:01 ` Adam Olsen
2009-07-22 15:42 ` Sven Eschenberg
2009-07-22 16:49 ` Bryn M. Reeves
2009-07-23 23:42 ` Adam Olsen
2009-07-22 13:06 ` Bryn M. Reeves
2009-07-22 13:05 ` Bryn M. Reeves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2473b43f0907211301m7e4092b3t8ccd496bb1371fe7@mail.gmail.com \
--to=arolsen@gmail.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).