T
Tom Del Rosso
This happened last year, but I want to ask a related question. Here's the
story and my theory of the cause:
I ran smartmontools with the -d sat option to test USB drives. I got the
letter wrong at the end of /dev/sdx but that's normally harmless. If that
happend when testing an internal SATA and I pointed it at the SATA RAID
drive, then it just says the drive doesn't support SMART.
But this time I was using the USB switch and I pointed it at the RAID drive
by mistake. The SATA RAID driver emulates SCSI, and USB drives use SCSI
commands, so the RAID driver got confused. I got an error message, but
maybe not the same one. Everything worked until I had to shutdown the next
day, after which it wouldn't boot. The BIOS wouldn't recognize either drive
alone or together. Obviously the RAID driver is buggy. The BIOS is as
well, since it wouldn't even allow me to go into setup with the drives
connected.
Yes it was backed up, but not that day. After trying some other things I
used Clonezilla to copy one RAID drive to a new drive. It booted as a
single drive. To my surprise the original booted as a single drive too. On
one hand it's good that CZ fixed it, but on the other I would rather it
didn't touch an original drive generally. There are a couple of CZ options
that seem related but I probably used them wrong, which was a good thing.
So my question is, how can you determine the device letter for /dev/sdx
without guessing? Maybe Sysinternals Winobj.exe but it gives numbers for
the drives. This would also be a great convenience when testing drives that
are connected temporarily.
story and my theory of the cause:
I ran smartmontools with the -d sat option to test USB drives. I got the
letter wrong at the end of /dev/sdx but that's normally harmless. If that
happend when testing an internal SATA and I pointed it at the SATA RAID
drive, then it just says the drive doesn't support SMART.
But this time I was using the USB switch and I pointed it at the RAID drive
by mistake. The SATA RAID driver emulates SCSI, and USB drives use SCSI
commands, so the RAID driver got confused. I got an error message, but
maybe not the same one. Everything worked until I had to shutdown the next
day, after which it wouldn't boot. The BIOS wouldn't recognize either drive
alone or together. Obviously the RAID driver is buggy. The BIOS is as
well, since it wouldn't even allow me to go into setup with the drives
connected.
Yes it was backed up, but not that day. After trying some other things I
used Clonezilla to copy one RAID drive to a new drive. It booted as a
single drive. To my surprise the original booted as a single drive too. On
one hand it's good that CZ fixed it, but on the other I would rather it
didn't touch an original drive generally. There are a couple of CZ options
that seem related but I probably used them wrong, which was a good thing.
So my question is, how can you determine the device letter for /dev/sdx
without guessing? Maybe Sysinternals Winobj.exe but it gives numbers for
the drives. This would also be a great convenience when testing drives that
are connected temporarily.