Detaching EBS Volumes (in LVM) take a lot of time

Posted by Cheezo on Server Fault See other posts from Server Fault or by Cheezo
Published on 2011-06-17T05:53:13Z Indexed on 2011/06/21 0:23 UTC
Read the original article Hit count: 232

Filed under:
|
|
|
|

I have an EC2 Instance(EBS Backed-root partition) with EBS volumes configured via LVM. I have formatted it as ext4 and can mount it to store data etc.

Now i want take a snapshot of the root partition, hence in that case i go and detach the other non-root EBS volumes (configured in LVM).

Here a regular detach does not work, and i have "force" detach almost always.

Although, i another similar setup with RAID instead of LVM and there after stopping RAID, i can easily detach.

The whole setup is running Ubuntu Maverick 10.10

Please assist me in the same.

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about raid