Ciao a tutti, pensavo di essere su un pc invece ero su un altro... con
fdisk sono entrato in un device, ho premuto g (per dare un nuovo PTUUID)
e quando ho premuto w mi sono accorto della cazzata che avevo fatto:
# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/sdb: 16,37 TiB, 18000207937536 bytes, 35156656128 sectors
Disk model: ST18000NM000J-2T
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: FC0B6515-8726-4544-9489-EFC50A4E744B
Device Start End Sectors Size Type
/dev/sdb1 2048 1050623 1048576 512M EFI System
/dev/sdb2 1050624 2050047 999424 488M Linux RAID
/dev/sdb3 2050048 35156654079 35154604032 16,4T Linux LVM
Command (m for help): g
Created a new GPT disklabel (GUID: F8F3B681-A5BA-7B43-83A5-7A542F69F86D).
Command (m for help): p
Disk /dev/sdb: 16,37 TiB, 18000207937536 bytes, 35156656128 sectors
Disk model: ST18000NM000J-2T
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F8F3B681-A5BA-7B43-83A5-7A542F69F86D
Command (m for help): w
The partition table has been altered.
Failed to remove partition 2 from system: Device or resource busy
Failed to remove partition 3 from system: Device or resource busy
The kernel still uses the old partitions. The new table will be used
at the next reboot.
Syncing disks.
e mo che fo?!?
Piviul