OpenSUSE 11.2 server, Gigabyte GA-MA790X-UD4P
sda for system, 3 ext4 partitions, working fine.
sdb promise RAID1 for data, 1 ext4 partition, working fine.
sdc is an eSATA docking station for data backup, 1 encrypted ext4 partition --** here lies the problem**.
This configuration has been functional for months until I decided to add two more external drives (sdc) to rotate through backups. I had difficulty with encyption on the first new drive and eventually decided to start over. Using the gui Yast Expert Partitioner, I deleted the single partition. That began a real nightmare…
Since deleting the partition, the system detects drives inserted in the docking station, but does not report them (including a different fully functional drive and a brand new unused drive). I have tested all drives on other computers and they function perfectly. I have rebooted the system several times while troubleshooting this issue.
Could not recreate the partition on server (since it does not recognize the drive), so I used Gparted on another computer - it all went without a hitch, formatted ext4. But when I placed the drive in the dock, the drive still was detected but not recognized.
**Details:
BIOS** lists the eSATA drive
Entering Yast Expert Partitioner, error message follows:
The partitioning on disk /dev/sdc is not readable by
the partitioning tool parted, which is used to change the
partition table.
You can use the partitions on disk /dev/sdc as they are.
You can format them and assign mount points to them, but you
cannot add, edit, resize, or remove partitions from that
disk with this tool.
**Yast partitioner **shows drives: sda, sda1, sda2, sda3, sdb, sdb1
sbc is not listed.
# fdisk sdc results in: Unable to open sdc
# dmesg | grep tail reports:
[48442.370779] sd 0:0:0:0: [sdc] Unhandled error code
[48442.370793] sd 0:0:0:0: [sdc] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[48442.370813] end_request: I/O error, dev sdc, sector 1465149160
*** repeats ***]
# hwinfo | grep sdc results in:
block.device = ‘/dev/sdc1’
linux.sysfs_path = ‘/sys/devices/pci0000:00/0000:00:04.0/0000:05:00.0/host0/target0:0:0/0:0:0:0/block/sdc/sdc1’
block.device = ‘/dev/sdc’
linux.sysfs_path = ‘/sys/devices/pci0000:00/0000:00:04.0/0000:05:00.0/host0/target0:0:0/0:0:0:0/block/sdc’
8 32 732574584 sdc
8 33 732572001 sdc1
sdc
sdc1
[0:0:0:0] disk /dev/sdc
block: name = sdc, path = /class/block/sdc
>> block.5: /dev/sdc
>> block.5.1: /dev/sdc geo
dev = /dev/sdc, fd = 4
/dev/sdc: ioctl(geo) ok
/dev/sdc: ioctl(block size) ok
/dev/sdc: ioctl(disk size) ok
>> block.5.2: /dev/sdc serial
block: name = sdc1, path = /class/block/sdc1
>> int.4.3: /dev/sdc
read_block0: read error(/dev/sdc, 0, 512): errno 5
P: /devices/pci0000:00/0000:00:04.0/0000:05:00.0/host0/target0:0:0/0:0:0:0/block/sdc
N: sdc
E: DEVPATH=/devices/pci0000:00/0000:00:04.0/0000:05:00.0/host0/target0:0:0/0:0:0:0/block/sdc
E: DEVNAME=/dev/sdc
P: /devices/pci0000:00/0000:00:04.0/0000:05:00.0/host0/target0:0:0/0:0:0:0/block/sdc/sdc1
N: sdc1
E: DEVPATH=/devices/pci0000:00/0000:00:04.0/0000:05:00.0/host0/target0:0:0/0:0:0:0/block/sdc/sdc1
E: DEVNAME=/dev/sdc1
/devices/pci0000:00/0000:00:04.0/0000:05:00.0/host0/target0:0:0/0:0:0:0/block/sdc
name: /dev/sdc
/devices/pci0000:00/0000:00:04.0/0000:05:00.0/host0/target0:0:0/0:0:0:0/block/sdc/sdc1
name: /dev/sdc1
<6>[51502.295211] sd 0:0:0:0: [sdc] Unhandled error code
<6>[51502.295226] sd 0:0:0:0: [sdc] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
<3>[51502.295246] end_request: I/O error, dev sdc, sector 1465148528
Deleted repetitive lines]
SysFS ID: /class/block/sdc
Device File: /dev/sdc
Device Files: /dev/sdc, /dev/block/8:32, /dev/disk/by-path/pci-0000:05:00.0-scsi-0:0:0:0
SysFS ID: /class/block/sdc/sdc1
Device File: /dev/sdc1
Device Files: /dev/sdc1, /dev/block/8:33, /dev/disk/by-path/pci-0000:05:00.0-scsi-0:0:0:0-part1
So how did partition deletion cause this issue, and how do I correct the problem? It is possible that my difficulties encrypting the first new drive are related (it’s not my first time doing it successfully). It seems the problem is in the Kernel or configuration. I have invested many hours in forums and on google - tried dozens of possible fixes. I’m beginning to suspect system corruption or a bug, however all other system functions are working perfectly.
Any thoughts or suggestions will be * enthusiastically* welcomed.