i try to restore a partition from a image which holds a RedHat WS4.0.
i firstly mount
mount /dev/hda1 /mnt/syspart
cd /mnt/syspart
/usr/bin/restore -b 60 -r -M -f /tmp/stdev
cd /root
install grub on /dev/hda1
umount /mnt/syspart
but it always failed on umount /mnt/syspart!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is probably not related to restore. You probably have some random process (a shell on another console maybe ?) still acessing /mnt/syspart, that's why it refuses to umount it.
You can use lsof or fuser to find that process.
Stelian.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i try to restore a partition from a image which holds a RedHat WS4.0.
i firstly mount
mount /dev/hda1 /mnt/syspart
cd /mnt/syspart
/usr/bin/restore -b 60 -r -M -f /tmp/stdev
cd /root
install grub on /dev/hda1
umount /mnt/syspart
but it always failed on umount /mnt/syspart!!
This is probably not related to restore. You probably have some random process (a shell on another console maybe ?) still acessing /mnt/syspart, that's why it refuses to umount it.
You can use lsof or fuser to find that process.
Stelian.
i use lsof/fuser, no more umount failed, thanks