- 论坛徽章:
- 0
|
本帖最后由 chenyx 于 2014-10-16 08:12 编辑
我的fstab是这么写的,
[root@mail1 ~]# vi /etc/fstab
#
# /etc/fstab
# Created by anaconda on Wed Oct 15 11:11:55 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=0970eaa9-6363-4a93-b27c-f3d094005e15 / ext4 defaults 1 1
UUID=5C09-2F71 /boot/efi vfat umask=0077,shortname=winnt 0 0
UUID=eab8b9b0-d782-4727-925b-913adf7b4e21 /data ext4 defaults 1 2
UUID=8a23926b-bedf-45ee-9ea2-2c436c1a0ebf swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/mapper/360050763008086023800000000000000p1 /data2 ext4 defaults 0 0
~
"/etc/fstab" 17L, 965C
fdisk 是这样的
[root@mail1 ~]# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 36405 292421631+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/sdb: 1932.7 GB, 1932735283200 bytes
255 heads, 63 sectors/track, 234975 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: 0xddb1d7c3
Device Boot Start End Blocks Id System
/dev/sdb1 1 234975 1887436656 83 Linux
Disk /dev/sdc: 1932.7 GB, 1932735283200 bytes
255 heads, 63 sectors/track, 234975 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: 0xddb1d7c3
Device Boot Start End Blocks Id System
/dev/sdc1 1 234975 1887436656 83 Linux
Disk /dev/mapper/360050763008086023800000000000000: 1932.7 GB, 1932735283200 bytes
255 heads, 63 sectors/track, 234975 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: 0xddb1d7c3
Device Boot Start End Blocks Id System
/dev/mapper/360050763008086023800000000000000p1 1 234975 1887436656 83 Linux
Disk /dev/mapper/360050763008086023800000000000000p1: 1932.7 GB, 1932735135744 bytes
255 heads, 63 sectors/track, 234974 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
[root@mail1 ~]#
|
|