fstab中显示有两个swap,怎么回事? 还有就是\是挂载在md0上,可是fdisk现实Disk /dev/md0 doesn't contain a valid partition table,奇怪? 难道系统所有文件都在md0,sda和sdb其他几个分区都没有怎么用? # /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5). # # proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/md0 during installation UUID=a44cef18-47fa-4d3f-a2bb-a3f8446af24b / ext4 errors= remount-ro,user_xattr 0 1 # swap was on /dev/sda5 during installation UUID=df870e5a-0dda-4cd4-838c-2966334e4033 none swap sw 0 0 # swap was on /dev/sdb5 during installation UUID=7bae490f-4cfc-4931-8ad0-c595509673bc none swap sw 0 0 Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000e0e42 Device Boot Start End Blocks Id System /dev/sda1 2048 1920141311 960069632 fd Linux raid autodetect /dev/sda2 1920143358 1953523711 16690177 5 Extended /dev/sda5 1920143360 1953523711 16690176 82 Linux swap / Solaris Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000878fc Device Boot Start End Blocks Id System /dev/sdb1 * 2048 1920137215 960067584 fd Linux raid autodetect /dev/sdb2 1920139262 1953519615 16690177 5 Extended /dev/sdb5 1920139264 1953519615 16690176 82 Linux swap / Solaris Disk /dev/md0: 983.1 GB, 983108018176 bytes 2 heads, 4 sectors/track, 240016606 cylinders, total 1920132848 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md0 doesn't contain a valid partition table
【在 P**C 的大作中提到】 : fstab中显示有两个swap,怎么回事? : 还有就是\是挂载在md0上,可是fdisk现实Disk /dev/md0 doesn't contain a valid : partition table,奇怪? : 难道系统所有文件都在md0,sda和sdb其他几个分区都没有怎么用? : # /etc/fstab: static file system information. : # : # Use 'blkid -o value -s UUID' to print the universally unique identifier : # for a device; this may be used with UUID= as a more robust way to name : # devices that works even if disks are added and removed. See fstab(5). : #