I have a 240GB SSD drive which is connected via USB. After plugging it in, the drive initally shows up correctly in
Here I can see that it appears correctly when it's mounted:
The drive is set to automatically mount at boot up in the fstab file, and this works fine:
Here is the output of
I initially thought it might be a power saving feature which was putting the drive to sleep. So I tried creating a small file every hour using crontab, to prevent it sleeping - but the problem persists.
I have also tried running badblocks and smartctl, both of which found no errors with the drive.
What can I do to get to the bottom of this?
lsblk
and fdisk -l
, and I am able to mount it without problem on the Proxmox host. The problem is that the drive seems to disappear from the host after a couple of days, and this has happened around 5 times now. When this happens, it does not appear in lsblk anymore.Here I can see that it appears correctly when it's mounted:
The drive is set to automatically mount at boot up in the fstab file, and this works fine:
Code:
root@pve:~# cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/pve/root / ext4 errors=remount-ro 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
PARTUUID=4d94eb4b-537e-b74c-b223-21085ccfc029 /mnt/SSD_240GB ext4 defaults 0 2
Here is the output of
dmesg
after the drive has disappeared:I initially thought it might be a power saving feature which was putting the drive to sleep. So I tried creating a small file every hour using crontab, to prevent it sleeping - but the problem persists.
I have also tried running badblocks and smartctl, both of which found no errors with the drive.
What can I do to get to the bottom of this?