Quote:
Originally Posted by tvynr
but was the device functioning?
|
Perfectly, as far as I can tell. Here's the exact scenerio that led up to the issue (LVM gets into the mix, but I'm not sure that's relevent):
Code:
# lvrename /dev/vg0/debian_usr /dev/vg0/usr
# lvrename /dev/vg0/debian_var /dev/vg0/var
# lvrename /dev/vg0/debian_tmp /dev/vg0/tmp
# lvrename /dev/vg0/debian_home /dev/vg0/home
# lvrename /dev/vg0/debian_opt /dev/vg0/opt
# telinit 1
# umount /usr
# umount /var
# umount /tmp
# umount /home
# umount /opt <<< ERROR! device busy
I was unmounting the filesystems in preparation for renaming vg0 to vg_linux. That volume group renaming operation requires a
vgchange -a n vg0 followed by
vgrename /dev/vg0 /dev/vg_linux. But for some reason /opt didn't want to unmount. I don't think the lvrename had anything to do with the unmount failure, because all the other filesystems unmounted OK.