Labas,
panagrinėkime šioje temoje kaip pasikeisti failinę posistemę.
Pagal nutylėjimą (default) yra ext3, aš pvz. noriu pasikeisti į jfs.
Ponams su klausimais apie tipus, literatūros rasite pvz. čia:
http://en.wikipedia.org/wiki/Comparison_of_file_systems
Benchmarking Filesystems -
http://linuxgazette.net/102/piszcz.html
Filesystems (jfs, xfs, ext3) comparison on Debian -http://securfox.wordpress.com/2009/08/11/filesystems-jfs-xfs-ext3-comparison-on-debian/
================================================
SSH lange vykdomos komandos, paryškintos (bold).
# fdisk -l
Disk /dev/hda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000364a8
Device Boot Start End Blocks Id System
/dev/hda1 * 1 392 3148708+ 83 Linux
/dev/hda2 393 60736 484713180 83 Linux
/dev/hda3 60737 60801 522112+ 82 Linux swap / Solaris
# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/hda1 ext3 3.0G 476M 2.4G 17% /
tmpfs tmpfs 1010M 0 1010M 0% /lib/init/rw
udev tmpfs 10M 68K 10M 1% /dev
tmpfs tmpfs 1010M 0 1010M 0% /dev/shm
/dev/hda2 ext3 456G 199M 432G 1% /home
# umount /dev/hda2
# mkfs.jfs /dev/hda2
mkfs.jfs version 1.1.12, 24-Aug-2007
Warning! All data on device /dev/hda2 will be lost!
Continue? (Y/N) Y
\
Format completed successfully.
484713180 kilobytes total disk space.
# mount /dev/hda2
mount: unknown filesystem type 'jfs'
Pabandžius pvz. ext4
# mount /dev/hda2
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# dmesg | tail
grsec: time set by /sbin/hwclock[hwclock:2157] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:2156] uid/euid:0/0 gid/egid:0/0
EXT3 FS on hda1, internal journal
grsec: time set by /sbin/hwclock[hwclock:2192] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:2191] uid/euid:0/0 gid/egid:0/0
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
grsec: time set by /usr/sbin/ntpdate[ntpdate:2362] uid/euid:0/0 gid/egid:0/0, parent /etc/network/if-up.d/ntpdate[ntpdate:2346] uid/euid:0/0 gid/egid:0/0
udevd version 125 started
VFS: Can't find ext3 filesystem on dev hda2.
# depmod -a
WARNING: Couldn't open directory /lib/modules/2.6.27.10-grsec-xxxx-grs-ipv4-32: No such file or directory
FATAL: Could not open /lib/modules/2.6.27.10-grsec-xxxx-grs-ipv4-32/modules.dep.temp for writing: No such file or directory
Mintis, kad JFS palaikymo nėra kernelyje? Help, padėkit užbaigt konvertavimą man, šis postas padės ir kitiems susiduriantiems su tokia problema