Linux RAID subsystem development
 help / color / mirror / Atom feed
* flummoxed why I can't umount my md device.  fuser and lsof show no files locked
@ 2011-06-20 17:48 Simon McNair
  2011-06-20 18:03 ` Roman Mamedov
  0 siblings, 1 reply; 4+ messages in thread
From: Simon McNair @ 2011-06-20 17:48 UTC (permalink / raw)
  To: linux-raid

hi all,
A colleague of mine questioned the fact that I created my raid array 
using the command 'mkfs -t ext4 -v -m .1 -b 4096 -E 
stride=16,stripe-width=144 /dev/md0'.  He said that "When creating file 
systems on lvm or md volumes, |mkfs.ext4| chooses an optimal geometry."

I wanted to run 'mkfs.ext4 -n /dev/md0' to see what settings it would 
choose that were different to mine but it keeps saying:
"/dev/md0 is apparently in use by the system; will not make a filesystem 
here!".

I also can't stop the array using 'mdadm --stop /dev/md0' as it says 
mdadm: failed to stop array /dev/md0: Device or resource busy.  pretty 
much the same error occurs when trying lvchange -an /media/local/Raid

I've no problem with any of this except I can't find out what process 
has a handle on the mount and/or why.  so I can't stop/kill it.

I tried lsof | grep /media/local/Raid and fuser -m /media/local/Raid to 
no avail.  I also tried ps aux | grep Raid.  I've stopped pretty much 
everything in init.d including samba,nfs,mediatomb,squeezebox and 
anything I can think of that I've installed.

Any advice/ideas please ?

cheers
Simon




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-20 19:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20 17:48 flummoxed why I can't umount my md device. fuser and lsof show no files locked Simon McNair
2011-06-20 18:03 ` Roman Mamedov
2011-06-20 18:16   ` Simon McNair
2011-06-20 19:06     ` Phil Turmel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox