bonjour,
en voulant afficher les partitions de mon ssd autonome ( debian testing ) branché sur un portable ( W 10 ) j’ai d’abord utilisé la commande fdisk -l puis j’ai sélectionné le ssd fdisk -l /dev/sdb . Les deux sorties ne sont pas les mêmes : bien plus détaillée pour fdisk -l . Pourquoi ?
**1ère commande**
mi@s125:~$ sudo fdisk -l
Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
...... tout ce qui concerne /dev/sda a été volontairement supprimé car inutile .......
Disk /dev/sdb: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk model: SU30
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: gpt
Disk identifier: 5888C869-74E4-4FBD-8E3F-E149C4E39AF7
Device Start End Sectors Size Type
/dev/sdb1 65535 262139 196605 96M EFI System
/dev/sdb2 262140 234418694 234156555 111.7G Linux LVM
Disk /dev/mapper/vg-lv--root: 27.94 GiB, 29997662208 bytes, 58589184 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disk /dev/mapper/vg-lv--boot: 488 MiB, 511705088 bytes, 999424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disk /dev/mapper/vg-lv--home: 46.56 GiB, 49996103680 bytes, 97648640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disk /dev/mapper/vg-lv--swap: 2.79 GiB, 2998927360 bytes, 5857280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
**2ème commande**
mi@s125:~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk model: SU30
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: gpt
Disk identifier: 5888C869-74E4-4FBD-8E3F-E149C4E39AF7
Device Start End Sectors Size Type
/dev/sdb1 65535 262139 196605 96M EFI System
/dev/sdb2 262140 234418694 234156555 111.7G Linux LVM
je rajoute ceci au cas où ce soit utile
mi@s125:~$ lsblk /dev/sdb
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sdb 8:16 0 111.8G 0 disk
├─sdb1 8:17 0 96M 0 part /boot/efi
└─sdb2 8:18 0 111.7G 0 part
├─vg-lv--root 254:0 0 27.9G 0 lvm /
├─vg-lv--boot 254:1 0 488M 0 lvm
├─vg-lv--home 254:2 0 46.6G 0 lvm /home
└─vg-lv--swap 254:3 0 2.8G 0 lvm [SWAP]