|
Written by Firewire2002
|
|
# mount -t aufs -o dirs=/dev/shm:/mnt=ro none /mnt
# ls -la /mnt
total 4
drwxrwxrwt 3 root root 80 2009-10-11 17:31 .
drwxr-xr-x 22 root root 4096 2009-10-11 14:06 ..
-rw-r--r-- 1 root root 0 2009-10-11 17:25 muh
# echo "a" > /mnt/muh
# echo "b" > /mnt/muh2
# ls -la /mnt/
total 12
drwxrwxrwt 3 root root 120 2009-10-11 17:31 .
drwxr-xr-x 22 root root 4096 2009-10-11 14:06 ..
-rw-r--r-- 1 root root 2 2009-10-11 17:31 muh
-rw-r--r-- 1 root root 2 2009-10-11 17:31 muh2
# umount /mnt
# ls -la /mnt/
total 8
drwxr-xr-x 2 root root 4096 2009-10-11 17:25 .
drwxr-xr-x 22 root root 4096 2009-10-11 14:06 ..
-rw-r--r-- 1 root root 0 2009-10-11 17:25 muh
|
|
LSI 1068E Write Cache aktivieren |
|
Written by Firewire2002
|
|
Modul laden:
modprobe sg
Devices finden/auflisten:
for i in $(ls -1 /dev/sg*); do sdparm -g WCE $i; done
Write Cache aktivieren (für jede Festplatte am Controller, gegebenfalls mehrfach ausführen (sg1, sg2, sg3, ...)):
sdparm -s WCE=1 /dev/sg1
|