System plików ReiserFS

Contents

Instalacja

W przypadku Mandrivy wymagany jest pakiet reiserfsprogs zapewniający programy pomocnicze do pracy z systemem plików reiserfs. Dla Debiania Sid to również reiserfsprogs Konieczne jest również posiadanie jądra obsługującego ten system plików (standardowe ma je w module reiserfs.o.gz).

Tworzenie systemu plików

terminal-3-67:~# mkfs.reiserfs /dev/hda6
mkfs.reiserfs 3.6.19 (2003 www.namesys.com)

A pair of credits:
BigStorage (www.bigstorage.com) contributes to our general fund every month,
and has done so for quite a long time.

Elena Gryaznova performed testing and benchmarking.

Guessing about desired format.. Kernel 2.4.27-1-586tsc is running.
Format 3.6 with standard journal
Count of blocks on the device: 732944
Number of blocks consumed by mkreiserfs formatting process: 8234
Blocksize: 4096
Hash function used to sort names: „r5”
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: 0f106f8e-043d-42e5-80d0-3c09775ccc13
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
ALL DATA WILL BE LOST ON '/dev/hda6′!
Continue (y/n):y
Initializing journal – 0%….20%….40%….60%….80%….100%
Syncing..ok

Tell your friends to use a kernel based on 2.4.18 or later, and especially not a
kernel based on 2.4.9, when you use reiserFS. Have fun.

ReiserFS is successfully created on /dev/hda6.

Mountowanie systemu plików

terminal-3-67:~# mount /dev/hda6 /data2
terminal-3-67:~# mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro,usrquota,grpquota)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda3 on /data1 type ext3 (rw)
/dev/hda6 on /data2 type reiserfs (rw)

Opcje dla pliku /etc/fstab

W piąte i szóste pole pliku /etc/fstab należy wpisać 0.

Zmiana wielkosci partycji

pojemność ReiserFS może być zmieniana zarówno gdy partycja jest podłączona jak i odłączona

Dodaj komentarz