turned off ext HDD while proxmox/VMs running

nirok

New Member
Dec 31, 2024
7
0
1
Hello,

I have an external 8TB sata USB HDD that I use for Media storage that I don't care about the data too much. But would prefer not to wipe.

I had added this HDD to prxmox via Directory. Then mounted on LXCs.

I turned this HDD off while proxmox/VMs were running and turned it back on. Suddenly I had read only permissions to the folders via the LXCs (before I had write access) i could ot work out how to fix it.

I then deleted the storage under Directory (see below) thinking I could then create it again. But now all I see is "no unused disks"

1736516135213.png

How do I add it and mount etc as RW without losing data?

1736516135221.png

my disk config - it's teh 8TB disk
1736516158094.png

see fdisk output

Code:
root@lukewarm:~# fdisk -l
Disk /dev/nvme0n1: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: CT500P3PSSD8                           
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1E85E0DB-B233-4112-8A1E-E1749765880D

Device           Start       End   Sectors   Size Type
/dev/nvme0n1p1      34      2047      2014  1007K BIOS boot
/dev/nvme0n1p2    2048   2099199   2097152     1G EFI System
/dev/nvme0n1p3 2099200 976773134 974673935 464.8G Linux LVM


Disk /dev/mapper/pve-swap: 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/pve-root: 96 GiB, 103079215104 bytes, 201326592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 7.28 TiB, 8001563222016 bytes, 15628053168 sectors
Disk model:                 
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: 1080D799-974E-4116-B7B5-AE68F7495134

Device     Start         End     Sectors  Size Type
/dev/sda1   2048 15628053134 15628051087  7.3T Linux filesystem


Disk /dev/mapper/pve-vm--100--disk--0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes


Disk /dev/mapper/pve-vm--100--disk--1: 32 GiB, 34359738368 bytes, 67108864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: gpt
Disk identifier: 8FE5738D-209D-48E9-9D42-007ADD2E2528

Device                                   Start      End  Sectors  Size Type
/dev/mapper/pve-vm--100--disk--1-part1    2048    67583    65536   32M EFI System
/dev/mapper/pve-vm--100--disk--1-part2   67584   116735    49152   24M Linux filesystem
/dev/mapper/pve-vm--100--disk--1-part3  116736   641023   524288  256M Linux filesystem
/dev/mapper/pve-vm--100--disk--1-part4  641024   690175    49152   24M Linux filesystem
/dev/mapper/pve-vm--100--disk--1-part5  690176  1214463   524288  256M Linux filesystem
/dev/mapper/pve-vm--100--disk--1-part6 1214464  1230847    16384    8M Linux filesystem
/dev/mapper/pve-vm--100--disk--1-part7 1230848  1427455   196608   96M Linux filesystem
/dev/mapper/pve-vm--100--disk--1-part8 1427456 67108830 65681375 31.3G Linux filesystem


Disk /dev/mapper/pve-vm--101--disk--0: 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes


Disk /dev/mapper/pve-vm--102--disk--0: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes


Disk /dev/mapper/pve-vm--103--disk--0: 82 GiB, 88046829568 bytes, 171966464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes


Disk /dev/mapper/pve-vm--102--disk--1: 200 GiB, 214748364800 bytes, 419430400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
 

Attachments

  • 1736516070940.png
    1736516070940.png
    5.9 KB · Views: 0

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!