# fdasd -a /dev/dasdb
auto-creating one partition for the whole disk...
writing volume label...
writing VTOC...
checking !
wrote NATIVE!
rereading partition table...
Next, make a file system on the new partition:
# mke2fs -j /dev/dasdb1
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
300960 inodes, 600816 blocks
30040 blocks (5.00%) reserved for the super user
First data block=0
19 block groups
32768 blocks per group, 32768 fragments per group
15840 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first.
Use tune2fs -c or -i to override.
Mount the new file system:
# mount /dev/dasdb1 /opt
# mount
/dev/dasda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
/dev/dasdb1 on /opt type ext3 (rw)
Add an entry to
/etc/fstab
so that the file system is mounted at IPL time:
# vi /etc/fstab
# cat /etc/fstab
LABEL=/
/
ext3
defaults
Adding DASD
75
Содержание ENTERPRISE LINUX 3 - FOR IBM S-390 AND IBM ESERVER ZSERIES
Страница 2: ...Red Hat Enterprise Linux 4 ...
Страница 4: ...Red Hat Enterprise Linux 4 ...
Страница 56: ...46 ...
Страница 64: ...54 ...
Страница 70: ...60 ...
Страница 104: ...94 ...
Страница 108: ...98 ...