[sclug] e2fsck

ed ed at s5h.net
Sat May 26 21:09:39 UTC 2007


On Sat, 26 May 2007 16:22:40 +0100
Darren Davison <darren at davisononline.org> wrote:

> does anyone know why I might get the following output on a partition
> that is definitely not mounted..
> 
> darren at hepburn ~ $ sudo e2fsck -f -y -v /dev/sda1
> e2fsck 1.40-WIP (14-Nov-2006)
> e2fsck: Device or resource busy while trying to open /dev/sda1
> Filesystem mounted or opened exclusively by another program?
> 
> 
> .. how do I tell what (if anything really is) is using it?

try:

lsof -f | grep /dev/sda

or

cat /proc/mounts | grep sda

if you see the mount point, repeat the lsof command with | grep
mount/point



-- 
The HSSI to the playstation is bitching like Perrin because of a
translator who speaks Bocce. The Cult of the Dead Cow is downloading
the new Half-Life patch. :: http://www.s5h.net/ ::
http://www.s5h.net/gpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.sclug.org.uk/pipermail/sclug/attachments/20070526/7409634e/attachment.bin 



More information about the Sclug mailing list