View previous topic :: View next topic |
Author |
Message |
ekki_123 n00b
Joined: 04 Jun 2006 Posts: 54 Location: Herxheim, Deutschland
|
Posted: Wed Oct 11, 2006 4:45 pm Post subject: Problem while installing on NSLU2 |
|
|
Hi.
I went through the excellent Wiki howto for the NSLU2, so far all ok.
The installation of OpenSlug 3.1 went fine, I initialized a USB harddisk s in the Howto etc. etc.
Now I come to the point where I should reboot...
The Howto says to unmount the USB drive, but on umount /dev/sda1 I get a 'device busy' error and the disk remains mounted.
# mount says:
Code: |
root@grappa:/# mount
rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/root on /dev/.static/dev type jffs2 (rw)
tmpfs on /dev type tmpfs (rw)
tmpfs on /var type tmpfs (rw)
tmpfs on /media/ram type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/sda1 on /mnt/gentoo type ext2 (rw,nogrpid)
tmpfs on /mnt/gentoo/dev type tmpfs (rw)
root@grappa:/#
|
I tried to umount /mnt/gentoo/dev, but that also results in a 'device busy'. Maybe it's interesting that I get that twice:
Code: |
root@grappa:/# umount /mnt/gentoo/dev
umount: /mnt/gentoo/dev: device is busy
umount: /mnt/gentoo/dev: device is busy
root@grappa:/#
|
What gives? WIth the meagre shell of OpenSlug I can't 'lsof' or see anything which still accesses the drive. How can I find out, or how can I cleanly unmount the drive now?
Thanks for any hints.
Ekki/Germany |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Oct 11, 2006 4:52 pm Post subject: |
|
|
Just reboot, the system will unmount the volumes. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
ekki_123 n00b
Joined: 04 Jun 2006 Posts: 54 Location: Herxheim, Deutschland
|
Posted: Wed Oct 11, 2006 8:22 pm Post subject: |
|
|
nixnut wrote: | Just reboot, the system will unmount the volumes. |
Thanks for the reply, but that is no viable solution.
1.) I am using Linux also because I like to understand what is going on. Your proposal is what I call a "Windows" solution. Sorry.
2.) Not properly unmounting a drive with ext2 will most likely lead to a hang of the system because it want's to start a fsck on boot. With no terminal, no sshd running, I have no way to see what's going on, the system just does not boot. I have to unplug the disk, boot onto OpenSlug on flash, plug in the disk again, do fsck manually and try again...
So, if anybody could give me a hint what might be the reason for not being able to properly unmount the disk, I would be very grateful.
Rgds,
Ekki/Germany |
|
Back to top |
|
|
derm1ke n00b
Joined: 15 Jul 2006 Posts: 16
|
Posted: Thu Oct 12, 2006 5:48 pm Post subject: what else is mounted? |
|
|
Hi there,
just a guess, but it could be possible, that there are some filesystems mounted beneath /dev/sda11.
try the following:
This shows everything mounted, like /dev/sda11 mounted on /mnt/gentoo.
Maybe there is still proc mounted on /mnt/gentoo/proc
OR
/dev/pts mounted on /mnt/gentoo/dev/pts
/dev mounted on /mnt/gentoo/dev
umount them.
otherwise, if you've done a chroot into your gentoo-env, it could be possible that you have emerged cron and or syslog and their processes are still accessing stuff in /var/log/.
remount all your necessary stuff and do a chroot.
Try stopping your cron and syslog ( if your using vixie-cron and syslog-ng ) with
Code: | /etc/init.d/vixie-cron stop;/etc/init.d/syslog-ng stop |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|