linux 分区扩容
(2011-10-11 21:41:18)
标签:
linuxit |
分类: linux |
[root@localhost home]# df -lh
Filesystem
/dev/sda2
tmpfs
/dev/sda1
/dev/sda5
[root@localhost home]# df -l
Filesystem
/dev/sda2
tmpfs
/dev/sda1
/dev/sda5
[root@localhost home]# 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: 0x0003b3da
/dev/sda1
Partition 1 does not end on cylinder boundary.
/dev/sda2
Partition 2 does not end on cylinder boundary.
/dev/sda3
Partition 3 does not end on cylinder boundary.
/dev/sda4
/dev/sda5
[root@localhost home]# mount
/dev/sda2 on / type ext4 (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:object_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
/dev/sda5 on /home type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
[root@localhost home]# df -a
Filesystem
/dev/sda2
proc
sysfs

加载中…