Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 4064

Hardware • Re: HDD failure lvm

$
0
0
All hooked up. I flipped my data cables apparently. Probably want to open back up and swap. But lvm seems to not care. sudo fdisk -l | less

Code:

Disk /dev/sda: 1.82 TiB, 2000398934016 bytes, 3907029168 sectorsDisk model: WDC WD20EARZ-00CUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk /dev/sdb: 465.76 GiB, 500107862016 bytes, 976773168 sectorsDisk model: CT500MX500SSD1  Units: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisklabel type: gptDisk identifier: 5B815D43-6F61-4AFA-B82C-17B69467DC3EDevice       Start       End   Sectors   Size Type/dev/sdb1     2048   1050623   1048576   512M EFI System/dev/sdb2  1050624   2050047    999424   488M Linux filesystem/dev/sdb3  2050048 976771071 974721024 464.8G Linux LVMDisk /dev/mapper/raunes--vg-root: 27.94 GiB, 29997662208 bytes, 58589184 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk /dev/mapper/raunes--vg-swap_1: 976 MiB, 1023410176 bytes, 1998848 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk /dev/mapper/raunes--vg-home: 435.89 GiB, 468033994752 bytes, 914128896 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytes

Code:

lsblkNAME                  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTSsda                     8:0    0   1.8T  0 disk sdb                     8:16   0 465.8G  0 disk ├─sdb1                  8:17   0   512M  0 part /boot/efi├─sdb2                  8:18   0   488M  0 part /boot└─sdb3                  8:19   0 464.8G  0 part   ├─raunes--vg-root   254:0    0  27.9G  0 lvm  /  ├─raunes--vg-swap_1 254:1    0   976M  0 lvm  [SWAP]  └─raunes--vg-home   254:2    0 435.9G  0 lvm  /homesr0                    11:0    1  1024M  0 rom  
V
No, not planning to use fdisk. Just do a new Physical Volume, VG and LV 's for a /DATA folder and a swap. mkfs for ext4 and also format for swap.

6 years ago I was told different VG's when 1 drive is ssd and other is hdd.

Statistics: Posted by paxmark1 — 2025-12-23 00:25



Viewing all articles
Browse latest Browse all 4064

Trending Articles