On 2009-07-19 23:04, Ron Johnson wrote:
On 2009-07-19 22:27, Celejar wrote:
On Sun, 19 Jul 2009 22:18:02 -0500
Ron Johnson <ron.l.john...@cox.net> wrote:

...

I use lvm on an external USB disk, and I also get those messages ('read
failed after 0 of 4096') when the disk goes offline and then returns.
What seems to work for me is '/etc/init.d/lvm2 stop' followed by
'/etc/init.d/lvm2 start'.
I thought of that, but what about internal LVs? Wouldn't you have to first umount them?

I currently only use lvm on my external disk, so I don't have to worry
about that.  But I assumed that even if one did, it would still be
better, if not quite as simple, to do that, than to reboot.

True, true. Especially since my internal LV doesn't have anything vital like /usr on it.

https://www.redhat.com/archives/linux-lvm/2009-July/msg00035.html

# umount -v /some/mount/point
# vgchange -an some_dynamic_vg
pull USB cable
wait a few minutes
insert USB cable
# vgchange -ay some_dynamic_vg
# mount -v /some/mount/point


--
Scooty Puff, Sr
The Doom-Bringer


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to