- 论坛徽章:
- 0
|
本帖最后由 jjfdj 于 2012-03-13 19:17 编辑
回复 2# typuc
环境:红帽6.1; 虚拟机VMware8
操作步骤:
我添加了一块虚拟磁盘,格式化成ext3,挂载参数和磁盘配额的参数都写入fstab文件了。
(先回复这么多,稍后我会详细说明我的情况,这个问题都整了好多天了,不知道怎么回事,我的QQ邮箱:811471253@qq.com)
下面补充我问题的详细描述:
[root@localhost ~]# fdisk -l
Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00010937
Device Boot Start End Blocks Id System
/dev/sda1 * 1 638 5120000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 638 1275 5120000 83 Linux
/dev/sda3 1275 1530 2048000 83 Linux
/dev/sda4 1530 2611 8682496 5 Extended
/dev/sda5 1531 1596 524288 82 Linux swap / Solaris
/dev/sda6 1596 2611 8156160 83 Linux
Disk /dev/sdb: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x25f4c538
Device Boot Start End Blocks Id System
/dev/sdb1 1 261 2096451 83 Linux
[root@localhost ~]# mount -l
/dev/sda6 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u bject_r:tmpfs_t:s0"
/dev/sda1 on /boot type ext3 (rw)
/dev/sda2 on /usr type ext3 (rw)
/dev/sda3 on /var type ext4 (rw)
/dev/sdb1 on /home/sdb1 type ext3 (rw,usrquota,grpquota)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sr0 on /media/RHEL_6.1 i386 Disc 1 type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=500,gid=500,iocharset=utf8,mode=0400,dmode=0500) [RHEL_6.1 i386 Disc 1]
[root@localhost ~]# rpm -q quota
quota-3.17-16.el6.i686
[root@localhost home]# ll
总用量 16
drwxr-xr-x. 2 root root 4096 2月 20 11:13 ftp
drwxr-xr-x. 3 root root 4096 2月 19 01:20 sdb1
|
|