- 论坛徽章:
- 0
|
本帖最后由 loveloop 于 2013-12-26 11:57 编辑
这是学校老师使用的一个服务器,主要是课件服务器
/home 下使用会不断增长 但是空间不够了,想先把 / 目录下的45G移动出来一部分给/home
系统情况是这样,不知道该怎么操作
现在情况是这样:
- df -h
- 文件系统 容量 已用 可用 已用%% 挂载点
- /dev/mapper/VolGroup-lv_root
- 50G 2.6G 45G 6% /
- tmpfs 7.8G 0 7.8G 0% /dev/shm
- /dev/sda1 485M 40M 420M 9% /boot
- /dev/mapper/VolGroup-lv_home
- 218G 191G 16G 93% /home
复制代码
- fdisk -l
- Disk /dev/sda: 299.4 GB, 299439751168 bytes
- 255 heads, 63 sectors/track, 36404 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: 0x000ad614
- Device Boot Start End Blocks Id System
- /dev/sda1 * 1 64 512000 83 Linux
- Partition 1 does not end on cylinder boundary.
- /dev/sda2 64 36405 291908608 8e Linux LVM
- Disk /dev/mapper/VolGroup-lv_root: 53.7 GB, 53687091200 bytes
- 255 heads, 63 sectors/track, 6527 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: 0x00000000
- Disk /dev/mapper/VolGroup-lv_swap: 8388 MB, 8388608000 bytes
- 255 heads, 63 sectors/track, 1019 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: 0x00000000
- Disk /dev/mapper/VolGroup-lv_home: 236.8 GB, 236835569664 bytes
- 255 heads, 63 sectors/track, 28793 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: 0x00000000
复制代码
- mount
- /dev/mapper/VolGroup-lv_root 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)
- /dev/sda1 on /boot type ext4 (rw)
- /dev/mapper/VolGroup-lv_home on /home type ext4 (rw)
- none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
复制代码 |
|