I install CoreOS on the server where RAID10 is configured.
After booting via PXE, I run the installation of CoreOS Container Linux on disk.
disk before installation:
~ # gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.3
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 39063650304 sectors, 18.2 TiB
Model: RAID 5/6 SAS 6G
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): EF012522-2982-40F8-9754-94A457E4DEBA
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 39063650270
Partitions will be aligned on 2048-sector boundaries
Total free space is 39063650237 sectors (18.2 TiB)
Number Start (sector) End (sector) Size Code Name
coreos-install -d /dev/sda -C stable -i ~/ignition.json
ignition.json:
{
"ignition": {
"config": {},
"timeouts": {},
"version": "2.1.0"
},
"networkd": {},
"passwd": {
"users": [
{
"name": "core",
"passwordHash":"MyPass"
}
]
},
"storage": {},
"systemd": {}
}
~ # gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.3
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Disk /dev/sda: 39063650304 sectors, 18.2 TiB
Model: RAID 5/6 SAS 6G
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000001
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 9289694
Partitions will be aligned on 2048-sector boundaries
Total free space is 8125 sectors (4.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 4096 266239 128.0 MiB EF00 EFI-SYSTEM
2 266240 270335 2.0 MiB EF02 BIOS-BOOT
3 270336 2367487 1024.0 MiB FFFF USR-A
4 2367488 4464639 1024.0 MiB FFFF USR-B
6 4464640 4726783 128.0 MiB 8300 OEM
7 4726784 4857855 64.0 MiB FFFF OEM-CONFIG
9 4857856 9285631 2.1 GiB FFFF ROOT
after reboot
Container Linux by CoreOS stable (2247.7.0)
Failed Units: 1
extend-filesystems.service
~ # gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.3
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Disk /dev/sda: 39063650304 sectors, 18.2 TiB
Model: RAID 5/6 SAS 6G
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): DA835281-27E6-49C0-AC46-F8075973A370
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 39063650270
Partitions will be aligned on 2048-sector boundaries
Total free space is 4062 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 4096 266239 128.0 MiB EF00 EFI-SYSTEM
2 266240 270335 2.0 MiB EF02 BIOS-BOOT
3 270336 2367487 1024.0 MiB FFFF USR-A
4 2367488 4464639 1024.0 MiB FFFF USR-B
6 4464640 4726783 128.0 MiB 8300 OEM
7 4726784 4857855 64.0 MiB FFFF OEM-CONFIG
9 4857856 39063650270 18.2 TiB FFFF ROOT
~ # df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 16G 736K 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda9 2.0G 25M 1.9G 2% /
/dev/mapper/usr 985M 855M 79M 92% /usr
none 16G 200M 16G 2% /run/torcx/unpack
tmpfs 16G 0 16G 0% /media
tmpfs 16G 0 16G 0% /tmp
/dev/sda1 127M 54M 73M 43% /boot
/dev/sda6 108M 92K 99M 1% /usr/share/oem
tmpfs 3.2G 0 3.2G 0% /run/user/500
Size mountpoint / - 2.0G ??? WTF???
Where 18.2 TiB???
What could be the problem?