[SLE] "/cdrom: device is busy"
Hi
We have just installed SuSe Linux 7.0 and are now experoience the following problem. Is there anybody who has an idea to solve the problem. We mount a cdrom in one host under directory /cdrom then we mount that directory from another host (host2). We then unmount that directory in host2 but when we try to unmount the /cdrom in host1 we get "/cdrom: device is busy" and have to restart host1 to relese the CD.
-------------------------------------------------------------------------- ----- Host with cdrom
root@linus:/home/edtwend > mount /dev/hda7 on / type ext2 (rw) proc on /proc type proc (rw) /dev/hda5 on /boot type ext2 (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) devpts on /dev/pts type devpts (rw) root@linus:/home/edtwend > fuser -v /cdrom root@linus:/home/edtwend > cat /etc/fstab /dev/hda1 /windows/C ntfs ro,noauto,user 0 0 /dev/hda5 /boot ext2 defaults 1 2 /dev/hda6 swap swap defaults 0 2 /dev/hda7 / ext2 defaults 1 1 proc /proc proc defaults 0 0 usbdevfs /proc/bus/usb usbdevfs defaults 0 0 devpts /dev/pts devpts defaults 0 0 /dev/cdrom /cdrom auto ro,noauto,user,exec 0 0 /dev/fd0 /floppy auto noauto,user 0 0 root@linus:/home/edtwend > mount /dev/cdrom root@linus:/home/edtwend > mount /dev/hda7 on / type ext2 (rw) proc on /proc type proc (rw) /dev/hda5 on /boot type ext2 (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) devpts on /dev/pts type devpts (rw) /dev/hdc on /cdrom type iso9660 (ro,nosuid,nodev) root@linus:/home/edtwend > fuser -v /cdrom
USER PID ACCESS COMMAND /cdrom root kernel mount /cdrom root@linus:/home/edtwend > ls /cdrom ARCHIVES.gz ChangeLog README.DOS docu setup COPYING INDEX.gz SuSEgo.ico dosutils setup.exe COPYING.tex LIESMICH TRANS.TBL full-names setup.mnu COPYRIGHT LIESMICH.DOS autorun.inf ls-lR.gz suse COPYRIGHT.yast README disks rr_moved unsorted root@linus:/home/edtwend > -------------------------------------------------------------------------- ---------------- Remote host mounting directory with cdrom
vmlinux: mount /dev/mnda on / type ext2 (rw,errors=remount-ro) none on /proc type proc (rw) /dev/mndb on /home type ext2 (rw) vmlinux: mount -o ro linus.edt.ericsson.se:/cdrom /mnt/cdrom vmlinux: mount /dev/mnda on / type ext2 (rw,errors=remount-ro) none on /proc type proc (rw) /dev/mndb on /home type ext2 (rw) linus.edt.ericsson.se:/cdrom on /mnt/cdrom type nfs (ro,addr=136.225.254.246) vmlinux: ls /mnt/cdrom ARCHIVES.gz ChangeLog README.DOS docu setup COPYING INDEX.gz SuSEgo.ico dosutils setup.exe COPYING.tex LIESMICH TRANS.TBL full-names setup.mnu COPYRIGHT LIESMICH.DOS autorun.inf ls-lR.gz suse COPYRIGHT.yast README disks rr_moved unsorted vmlinux: umount /mnt/cdrom vmlinux: mount /dev/mnda on / type ext2 (rw,errors=remount-ro) none on /proc type proc (rw) /dev/mndb on /home type ext2 (rw)
-------------------------------------------------------------------------- ---------------
Host with cdrom
root@linus:/home/edtwend > fuser -v /cdrom
USER PID ACCESS COMMAND /cdrom root kernel mount /cdrom root@linus:/home/edtwend > umount /cdrom umount: /cdrom: device is busy
Take care
Anna
ppppppppppppppppppppppp VM-Group Ericsson Service Area Mainframe Ericsson IT services mail: anna.arvidson@edt.ericsson.se URL: http://vm.ericsson.se/ Phone: +46 8 568 60420 Mobile: +46 70 526 3799 ppppppppppppppppppppppp -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
hello try this.. fuser -mav /dev/cdrom fuser -mva /cdrom once u get the pidof the process, do ps -aux | grep <pid> or in one shot , u can try this, fuser -mka /cdrom;umount /cdrom On Mon, 9 Oct 2000, Anna Arvidson (BCT) wrote:
Hi
We have just installed SuSe Linux 7.0 and are now experoience the following problem. Is there anybody who has an idea to solve the problem. We mount a cdrom in one host under directory /cdrom then we mount that directory from another host (host2). We then unmount that directory in host2 but when we try to unmount the /cdrom in host1 we get "/cdrom: device is busy" and have to restart host1 to relese the CD.
-------------------------------------------------------------------------- ----- Host with cdrom
root@linus:/home/edtwend > mount /dev/hda7 on / type ext2 (rw) proc on /proc type proc (rw) /dev/hda5 on /boot type ext2 (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) devpts on /dev/pts type devpts (rw) root@linus:/home/edtwend > fuser -v /cdrom root@linus:/home/edtwend > cat /etc/fstab /dev/hda1 /windows/C ntfs ro,noauto,user 0 0 /dev/hda5 /boot ext2 defaults 1 2 /dev/hda6 swap swap defaults 0 2 /dev/hda7 / ext2 defaults 1 1 proc /proc proc defaults 0 0 usbdevfs /proc/bus/usb usbdevfs defaults 0 0 devpts /dev/pts devpts defaults 0 0 /dev/cdrom /cdrom auto ro,noauto,user,exec 0 0 /dev/fd0 /floppy auto noauto,user 0 0 root@linus:/home/edtwend > mount /dev/cdrom root@linus:/home/edtwend > mount /dev/hda7 on / type ext2 (rw) proc on /proc type proc (rw) /dev/hda5 on /boot type ext2 (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) devpts on /dev/pts type devpts (rw) /dev/hdc on /cdrom type iso9660 (ro,nosuid,nodev) root@linus:/home/edtwend > fuser -v /cdrom
USER PID ACCESS COMMAND /cdrom root kernel mount /cdrom root@linus:/home/edtwend > ls /cdrom ARCHIVES.gz ChangeLog README.DOS docu setup COPYING INDEX.gz SuSEgo.ico dosutils setup.exe COPYING.tex LIESMICH TRANS.TBL full-names setup.mnu COPYRIGHT LIESMICH.DOS autorun.inf ls-lR.gz suse COPYRIGHT.yast README disks rr_moved unsorted root@linus:/home/edtwend > -------------------------------------------------------------------------- ---------------- Remote host mounting directory with cdrom
vmlinux: mount /dev/mnda on / type ext2 (rw,errors=remount-ro) none on /proc type proc (rw) /dev/mndb on /home type ext2 (rw) vmlinux: mount -o ro linus.edt.ericsson.se:/cdrom /mnt/cdrom vmlinux: mount /dev/mnda on / type ext2 (rw,errors=remount-ro) none on /proc type proc (rw) /dev/mndb on /home type ext2 (rw) linus.edt.ericsson.se:/cdrom on /mnt/cdrom type nfs (ro,addr=136.225.254.246) vmlinux: ls /mnt/cdrom ARCHIVES.gz ChangeLog README.DOS docu setup COPYING INDEX.gz SuSEgo.ico dosutils setup.exe COPYING.tex LIESMICH TRANS.TBL full-names setup.mnu COPYRIGHT LIESMICH.DOS autorun.inf ls-lR.gz suse COPYRIGHT.yast README disks rr_moved unsorted vmlinux: umount /mnt/cdrom vmlinux: mount /dev/mnda on / type ext2 (rw,errors=remount-ro) none on /proc type proc (rw) /dev/mndb on /home type ext2 (rw)
-------------------------------------------------------------------------- ---------------
Host with cdrom
root@linus:/home/edtwend > fuser -v /cdrom
USER PID ACCESS COMMAND /cdrom root kernel mount /cdrom root@linus:/home/edtwend > umount /cdrom umount: /cdrom: device is busy
Take care
Anna ppppppppppppppppppppppp VM-Group Ericsson Service Area Mainframe Ericsson IT services mail: anna.arvidson@edt.ericsson.se URL: http://vm.ericsson.se/ Phone: +46 8 568 60420 Mobile: +46 70 526 3799 ppppppppppppppppppppppp
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (2)
-
Anna.Arvidson@edt.ericsson.se
-
omicron@symonds.net