🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ahn.tech.linux
Article #390

umount "device is busy" removable HDD

#390
From: Hector
Date: Thu, 03 Oct 2002 18:45
27 lines
2273 bytes
Hello All,

I am using hot-swap (ones that use the key to power-on/off the drive)
removable drive trays for backing up data on our network.  It uses IDE
drives and it's on a PCI controller card.  To swap drives, I just turn off
the drive, place another drive in, then power it back on.  This is reliable
most of the time as long as the drive is not mounted when you swap.

That brings me to the problem.  I have a cron set up to mount and umount so
that I can just swap drives and not worry about it.  Umount is set a few
hours after the backup completes just to make sure I have a large enough
time window.  The drive fails to umount every night.  When I attempt to
umount manually the next morning, I get the infamous "device is busy" error.
Now, I make sure to CD to the root directory and it still fails.  There are
no external mount to the drive as well so I'm not sure what's causing this.
The only "fix" I have is to restart the server.

The server is running REDHAT 7.2 and SAMBA 2.2.3a.  The backup uses the CP
command (cron) and copies data from other servers via SMB mounts.  I don't
use SMBTAR because the tar files are too large and take much too long (over
an hour, it's an old Pentium Pro) to restore data.  Is it possible that the
SMB mounts are causing this?

Any help on this would be greatly appreciated!

Thanks,
Hector
Technical Details
Message-ID: <3d9c913b$0$22050$4c41069e@reader1.ash.ops.us.uu.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp5.savvis.net!uunet!dfw.uu.net!ash.uu.net!spool0900.news.uu.net!reader0901.news.uu.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11033e,f7292038b98ef555,start
X-Google-Attributes: gid11033e,public
X-Google-ArrivalTime: 2002-10-03 14:42:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp5.savvis.net!uunet!dfw.uu.net!ash.uu.net!spool0900.news.uu.net!reader0901.news.uu.net!not-for-mail
From: "Hector" <joeblow@yahoo.com>
Newsgroups: ahn.tech.linux
Subject: umount "device is busy" removable HDD
Date: Thu, 3 Oct 2002 11:45:50 -0700
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Lines: 33
Message-ID: <3d9c913b$0$22050$4c41069e@reader1.ash.ops.us.uu.net>
NNTP-Posting-Host: 63.82.18.60
X-Trace: 1033670971 reader1.ash.ops.us.uu.net 22050 63.82.18.60