Re: test delle partizioni
Anzitutto mille grazie Luca e anche a coloro che mi hanno risposto...
Luca Costantino scrisse in data 04/09/2013 13:56:
no no... se ha sminchiato la tabella delle partizioni e riavvia è TFU,
a meno che non abbia una copia dell'MBR NON riavviare *assolutamente*
fino a quando non se ne sa di più... fdisk cosa ti dice?
sembra che vada tutto bene; sul pc ho 4 dischi: 2 sono GPT (sda e sdb) e
2 sono MBR (sdc e sdd). Questi sono gli output di fdisk/gdisk e la
verifica per quel che può servire di sfdisk/sgdisk (ho scoperto che le
partizioni non sono ottimizzate per i dischi con settori da 4KB ma
questa è tutta un'altra storia...):
# gdisk -l /dev/sda && gdisk -l /dev/sdb && sgdisk --verify /dev/sda &&
sgdisk --verify /dev/sdb
GPT fdisk (gdisk) version 0.8.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 4DB3BFDC-9B49-4732-A9FE-026B0E3C400B
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 8-sector boundaries
Total free space is 5168 sectors (2.5 MiB)
Number Start (sector) End (sector) Size Code Name
1 34 2082 1.0 MiB EF02 bbp
2 2083 2099235 1.0 GiB FD00 boot
3 976751968 3907023968 1.4 TiB FD00 vg_archivio
4 968363357 976751965 4.0 GiB 8200 swap
5 2099236 968363356 460.8 GiB FD00 vg_root
GPT fdisk (gdisk) version 0.8.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): DC8097E8-134A-41D0-830E-F3D73DD3912A
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 8-sector boundaries
Total free space is 5168 sectors (2.5 MiB)
Number Start (sector) End (sector) Size Code Name
1 34 2082 1.0 MiB EF02 bbp
2 2083 2099235 1.0 GiB FD00 boot
3 976751968 3907023968 1.4 TiB FD00 vg_archivio
4 968363357 976751965 4.0 GiB 8200 swap
5 2099236 968363356 460.8 GiB FD00 vg_root
Caution: Partition 1 doesn't begin on a 8-sector boundary. This may
result in degraded performance on some modern (2009 and later) hard disks.
Caution: Partition 2 doesn't begin on a 8-sector boundary. This may
result in degraded performance on some modern (2009 and later) hard disks.
Caution: Partition 4 doesn't begin on a 8-sector boundary. This may
result in degraded performance on some modern (2009 and later) hard disks.
Caution: Partition 5 doesn't begin on a 8-sector boundary. This may
result in degraded performance on some modern (2009 and later) hard disks.
Consult http://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/
for information on disk alignment.
No problems found. 5168 free sectors (2.5 MiB) available in 2
segments, the largest of which is 5166 (2.5 MiB) in size.
Caution: Partition 1 doesn't begin on a 8-sector boundary. This may
result in degraded performance on some modern (2009 and later) hard disks.
Caution: Partition 2 doesn't begin on a 8-sector boundary. This may
result in degraded performance on some modern (2009 and later) hard disks.
Caution: Partition 4 doesn't begin on a 8-sector boundary. This may
result in degraded performance on some modern (2009 and later) hard disks.
Caution: Partition 5 doesn't begin on a 8-sector boundary. This may
result in degraded performance on some modern (2009 and later) hard disks.
Consult http://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/
for information on disk alignment.
No problems found. 5168 free sectors (2.5 MiB) available in 2
segments, the largest of which is 5166 (2.5 MiB) in size.
~# fdisk -l /dev/sdc && fdisk -l /dev/sdd && sfdisk -V /dev/sdc &&
sfdisk -V /dev/sdd
Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 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
Device Boot Start End Blocks Id System
/dev/sdc1 1 182401 1465136001 fd Linux raid
autodetect
Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 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
Device Boot Start End Blocks Id System
/dev/sdd1 1 182401 1465136001 fd Linux raid
autodetect
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
/dev/sdc: OK
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
/dev/sdd: OK
Reply to: