1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | 令人十足納悶!! 一顆 320G + 一顆 2TB HDD 做 Linear mode 出來可用空間是 116G !!XD!! # mdadm -D /dev/md0 /dev/md0: Version : 00.90.01 Creation Time : Tue Mar 13 23:13:33 2012 Raid Level : linear Array Size : 115946112 (110.57 GiB 118.73 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Tue Mar 13 23:13:33 2012 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Rounding : 64K UUID : f5b63d7b:412de284:6603cdf0:46d6fe1b Events : 0.1 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 8 18 1 active sync /dev/sdb2 # fdisk -l Disk /dev/sda: 320.0 GB, 320071851520 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 131 1052257 83 Linux /dev/sda2 132 38879 311243310 fd Linux raid autodetect /dev/sda3 38880 38913 273105 82 Linux swap Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 131 1052257 83 Linux /dev/sdb2 132 18446744073709527435 18446744073514254638 fd Linux raid autodetect /dev/sdb3 243168 243201 273105 82 Linux swap |
Direct link: https://paste.plurk.com/show/944770