linux CentOS ????????????????????
???????????? ???????[ 2014/1/20 13:13:11 ] ??????????????? ??????
????3.??β????????????
[root@aaaa ~]# fdisk -l
Disk /dev/sda: 300.0 GB?? 300000000000 bytes
255 heads?? 63 sectors/track?? 36472 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1305 10482381 83 Linux
/dev/sda2 1306 2610 10482412+ 82 Linux swap / Solaris
/dev/sda3 2611 36472 271996515 83 Linux
Disk /dev/hdb: 2147 MB?? 2147483648 bytes
16 heads?? 63 sectors/track?? 4161 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 4161 2097112 83 Linux
?????????????????????????/dev/hdb1???·?????????????????????????
????4.??mkfs.ext3??????·???
[root@aaaa ~]# mkfs.ext3 /dev/hdb1
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
262144 inodes?? 524278 blocks
26213 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=536870912
16 block groups
32768 blocks per group?? 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768?? 98304?? 163840?? 229376?? 294912
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 32 mounts or
180 days?? whichever comes first. Use tune2fs -c or -i to override.
????5.??????á?
[root@aaaa ~]# mkdir /mnt/hdb1 //???????????
[root@aaaa ~]# mount /dev/hdb1 /mnt/hdb1 //?????
[root@aaaa ~]# df -h
????? ???? ???? ???? ????% ?????
/dev/mapper/VolGroup00-LogVol00
4.3G 3.6G 487M 89% /
/dev/hda1 99M 12M 82M 13% /boot
tmpfs 125M 0 125M 0% /dev/shm
/dev/hdb1 2.0G 3.0M 1.9G 1% /mnt/hdb1
????6 .???????????
??????.???????????????????
??????vi /etc/fstab?????????????????.??????????:
????/dev/hdb1 /mnt/hdb1 ext3 defaults 1 2??????????????????1 3?????????)
????????????ο??????????????/dev/hdb1?????/mnt/hdb1
????#mkfs -t????????? ext3 -c?????????л??? /dev/sdb1
????mkfs -t ext3 /dev/sdf1 && mkfs -t ext3 /dev/sdf1(???????????? &&)
?????????????
[root@aa-05 /]# mkdir /data ????data?????
[root@aa-05 /]# ls
bin boot data dev etc home lib lib64 lost+found media mnt opt proc root sbin selinux
srv sys tmp usr var
[root@aa-05 /]# cd data
[root@aa-05 data]# mkdir 0 1 2 3 4 5 6 7 8 9 10 11
[root@aa-05 data]# mount /dev/sdb1 /data/0
echo "/dev/sdb1 /data/0 ext4 defaults 0 0" >>/etc/fstab
echo "/dev/sdc1 /data/1 ext4 defaults 0 0" >>/etc/fstab
echo "/dev/sdd1 /data/2 ext4 defaults 0 0" >>/etc/fstab
echo "/dev/sde1 /data/3 ext4 defaults 0 0" >>/etc/fstab
echo "/dev/sdf1 /data/4 ext4 defaults 0 0" >>/etc/fstab
echo "/dev/sdg1 /data/5 ext4 defaults 0 0" >>/etc/fstab
echo "/dev/sdh1 /data/6 ext4 defaults 0 0" >>/etc/fstab
echo "/dev/sdi1 /data/7 ext4 defaults 0 0" >>/etc/fstab
echo "/dev/sdj1 /data/8 ext4 defaults 0 0" >>/etc/fstab
echo "/dev/sdk1 /data/9 ext4 defaults 0 0" >>/etc/fstab
echo "/dev/sdl1 /data/10 ext4 defaults 0 0" >>/etc/fstab
echo "/dev/sdm1 /data/11 ext4 defaults 0 0" >>/etc/fstab
mount -a
df -lhT
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11