-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, I'm trying to write a script that adds the drive with the most free
space as the 'first' drive, by using command like this:
$ mount -o remount,del:/vault/disk6,prepend:/vault/disk6=rw /storage

(I'm making sure the directory structure matches, so that it'll simply
pick the first drive to write the file to. For the future: Would it be
possible to make it create the dir-structure on a particular
"write-first"-drive, and create new files on it, instead of finding a
"matching dir structure"?)

This command takes a couple of minutes to finish, and I get this in dmesg:
[61632.277643] aufs do_xib_restore:643:mount[23548]: testing a large
xino file 3758097024
[61642.668549] aufs do_xib_restore:643:mount[23548]: testing a large
xino file 8466517632
[61665.501141] aufs do_xib_restore:643:mount[23548]: testing a large
xino file 8519454512
[61688.857910] aufs do_xib_restore:643:mount[23548]: testing a large
xino file 8116821632
[61710.718058] aufs do_xib_restore:643:mount[23548]: testing a large
xino file 4037693024

Why does it take so long, and what does this mean?

Relevant /proc/mounts:
/dev/disk/by-uuid/e2bd2748-1050-4fd2-8c98-e90a6dc863e2 /vault/disk1 xfs
rw 0 0
/dev/disk/by-uuid/2e35bd30-8879-4127-8ec0-1a2dcbdceca8 /vault/disk2 xfs
rw 0 0
/dev/disk/by-uuid/16b24ed5-5947-4610-9598-278e677ad1cc /vault/disk3 xfs
rw 0 0
/dev/disk/by-uuid/f38c7e6d-9dac-4763-8fbf-95311a3acfcf /vault/disk4 xfs
rw 0 0
/dev/disk/by-uuid/71f1489f-f197-4912-ad29-be062903a6c1 /vault/disk5 xfs
rw 0 0
/dev/disk/by-uuid/0b2955d8-ccdb-40c5-965c-e75119d2f234 /vault/disk6 xfs
rw 0 0
/dev/disk/by-uuid/88457bda-800b-4b64-89b7-c0d0096eea5d /vault/misc ext3
rw,data=ordered 0 0
none /storage aufs
rw,xino=/vault/disk5/.aufs.xino,udba=inotify,br:/vault/disk6=rw:/vault/disk5=rw:/vault/disk4=rw:/vault/disk3=rw:/vault/disk2=rw:/vault/disk1=rw
0 0

Thanks in advance!

Kindest regards, Jørgen P. Tjernø.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG8PNeUMzc1WGo4zgRAlDyAJ0cRmChSGCrQ2tkcFF/eFjLd1fnDwCghc42
hW1eF1hzfK4IuMb+sMd1tzA=
=mGne
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to