Pagina 8 di 11
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 14:46
da rik70
Ora creati una partizione GPT come abbiamo visto sopra.
E ridai quel e2fsck dopo aver dato sync
Va bene anche da sysrescuecd.
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 14:51
da py67
rik70 ha scritto:Ora creati una partizione GPT come abbiamo visto sopra.
E ridai quel e2fsck dopo aver dato sync
Va bene anche da sysrescuecd.
Dopo che ho ricreato tutto...
root@sysresccd /root % e2fsck /dev/sda1
e2fsck 1.42.7 (21-Jan-2013)
The filesystem size (according to the superblock) is 732566272 blocks
The physical size of the device is 732566121 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>?
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 14:57
da rik70
py67 ha scritto:
root@sysresccd /root % e2fsck /dev/sda1
e2fsck 1.42.7 (21-Jan-2013)
The filesystem size (according to the superblock) is 732566272 blocks
The physical size of the device is 732566121 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>?
Eh no, mo non deve più rompere le p@lle.
Riazzera la tabella della partizioni.
dai sync
ora prova a crearla con parted:
=========================
parted /dev/sdx
mklabel gpt
mkpart
name Linux
filesystem [ quello di default ]
start 1
end -1
....
===========
Correggi dove sbaglio che vado a memoria
Rifai sync e e2fsck
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:03
da rik70
The filesystem size (according to the superblock) is 732566272 blocks
The physical size of the device is 732566121 blocks
Manca veramente poco:
lamenta ancora una -piccola stavolta - differenza, ma ci siamo quasi: non disperiamo.
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:04
da py67
Continua a dare partition table is likely to be corrupt
gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.6
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): x
Expert command (? for help): z
About to wipe out GPT on /dev/sda. Proceed? (Y/N): Y
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
Blank out MBR? (Y/N): Y
root@sysresccd /root % sync
root@sysresccd /root % parted /dev/sda
GNU Parted 3.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt
(parted) mkpart
Partition name? []? Linux
File system type? [ext2]?
Start? 1
End? -1
(parted) q
Information: You may need to update /etc/fstab.
root@sysresccd /root % sync
root@sysresccd /root % e2fsck /dev/sda1
e2fsck 1.42.7 (21-Jan-2013)
The filesystem size (according to the superblock) is 732566272 blocks
The physical size of the device is 732565760 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>?
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:12
da rik70
Ancora un tentativo
Stessa procedura di prima:
azzeramento tabella partizioni.
Ora creiamo una partizione standard, non più gpt:
====
fdisk /dev/sdX
n
p - partizione primaria
numero: 1
start [default 2048] invio
end [invio]
w
sync
e2fsck
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:12
da py67
potrebbe questo comando essere utile?
resize2fs /dev/sda xxxx
letto in giro
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:14
da py67
rik70 ha scritto:Ancora un tentativo
Stessa procedura di prima:
azzeramento tabella partizioni.
Ora creiamo una partizione standard, non più gpt:
====
fdisk /dev/sdX
n
p - partizione primaria
numero: 1
start [default 2048] invio
end [invio]
w
sync
e2fsck
come prima
e2fsck /dev/sda1
e2fsck 1.42.7 (21-Jan-2013)
The filesystem size (according to the superblock) is 732566272 blocks
The physical size of the device is 536870655 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>?
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:16
da rik70
fdisk -l /dev/sdX
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:19
da py67
rik70 ha scritto:fdisk -l /dev/sdX
root@sysresccd /root % fdisk -l /dev/sda
Disk /dev/sda: 3000.6 GB, 3000591900160 bytes, 5860531055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x45055df8
Device Boot Start End Blocks Id System
/dev/sda1 2048 4294967294 2147482623+ 83 Linux
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:25
da rik70
Allora:
Disk /dev/sda: 3000.6 GB, 3000591900160 bytes, 5860531055 sectors
I 3 tera li vede ma non sono coerenti con i blocchi del filesystem visti da e2fsck
Geometrie diverse??.
Allora, torniamo indietro:
fdisk /dev/sdX
d
[ qui dovrebbe automaticamente cancellare la partizione 1]
w
sync
E mi dai un altro bel fdisk -l /dev/sdX
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:27
da py67
rik70 ha scritto:Allora:
Disk /dev/sda: 3000.6 GB, 3000591900160 bytes, 5860531055 sectors
I 3 tera li vede ma non sono coerenti con i blocchi del filesystem visti da e2fsck
Geometrie diverse??.
Allora, torniamo indietro:
fdisk /dev/sdX
d
[ qui dovrebbe automaticamente cancellare la partizione 1]
w
sync
E mi dai un altro bel fdisk -l /dev/sdX
root@sysresccd /root % fdisk -l /dev/sda
Disk /dev/sda: 3000.6 GB, 3000591900160 bytes, 5860531055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x45055df8
Device Boot Start End Blocks Id System
root@sysresccd /root %
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:29
da rik70
Ora:
sync
===================
gdisk /dev/sdX
o
w
sync
gdisk -l /dev/sdX
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:31
da py67
root@sysresccd /root % gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.6
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 5860531055 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 74BD1B40-53D8-4E07-984B-5AE75A8CCAB9
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860531021
Partitions will be aligned on 2048-sector boundaries
Total free space is 5860530988 sectors (2.7 TiB)
Number Start (sector) End (sector) Size Code Name
root@sysresccd /root %
Re: Tabella partizione cancellata
Inviato: sab 19 ott 2013, 15:36
da rik70
Bene, adesso:
altro sync e riazzera la tabella delle partizioni con gdisk
e mi ridai lo stesso comando di prima dopo il sync.
Ho paura che si tratti di un problema di geometria del disco modificata durante il partizionamento iniziale e che rende il tutto incoerente col filesystem.
Ma non ne sono sicuro, quindi aspettiamo ZeroUno che di matematica ne sa più di me.