LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /dev/sda is not a valid block device !!help!! (https://www.linuxquestions.org/questions/linux-newbie-8/dev-sda-is-not-a-valid-block-device-help-589692/)

akjafry 10-05-2007 11:41 AM

/dev/sda is not a valid block device !!help!!
 
I am very new at linux. I have installed fedora 6 on my old computer on an ide drive. I also happen to have a silicon valley sata raid card with 2 500GB sata drives on it.

fdisk -l shows:

Code:

[root@iscsi-target mnt]# fdisk -l

Disk /dev/hdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/hdc1  *          1          13      104391  83  Linux
/dev/hdc2            5498      30515  200957085  83  Linux
/dev/hdc3              14        1318    10482412+  83  Linux
/dev/hdc4            1319        5497    33567817+  5  Extended
/dev/hdc5            1319        1971    5245191  83  Linux
/dev/hdc6            1972        2624    5245191  83  Linux
/dev/hdc7            2625        3277    5245191  83  Linux
/dev/hdc8            3278        3930    5245191  83  Linux
/dev/hdc9            3931        4583    5245191  83  Linux
/dev/hdc10          4584        5236    5245191  83  Linux
/dev/hdc11          5237        5497    2096451  82  Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          2      60801  488376000  83  Linux

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1  *          2      60801  488376000  83  Linux
[root@iscsi-target mnt]#

There is a lot of data on the sata drives and I need to get access to them. I was able to do it yesterday and see all the data but somehow i can not achieve the same today.

mount returns the following:

Code:

[root@iscsi-target mnt]# mount /dev/sda1 /mnt/sda1
mount: /dev/sda1 is not a valid block device

[root@iscsi-target mnt]# mount /dev/sda /mnt/sda1
mount: /dev/sda already mounted or /mnt/sda1 busy

I can also see this raid through fdisk -l /dev/mapper/sil_xxxxx:

Code:

[root@iscsi-target mnt]# fdisk -l /dev/mapper/sil_ahadagddbhfe

Disk /dev/mapper/sil_ahadagddbhfe: 500.1 GB, 500106813440 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                      Device Boot      Start        End      Blocks  Id  System
/dev/mapper/sil_ahadagddbhfe1  *          2      60801  488376000  83  Linux
[root@iscsi-target mnt]#

But I still can not access it.

Please help me with recovering this data.

Thanks

ak

Slick666 10-05-2007 12:55 PM

Well I'm not sure how or if you have raid set up but I would try mounting the raid device.

mkdir /mnt/raid
mount /dev/mapper/sil_ahadagddbhfe /mnt/raid

I would also check /etc/fstab to see if it's mentioned there. Sometimes my new systems have auto mounted partitions in weird places. to make sure of this use

df -h

That will show any mounted drives on your system and there mount points

I hope this helps

akjafry 10-05-2007 02:48 PM

Quote:

Originally Posted by Slick666 (Post 2914458)
Well I'm not sure how or if you have raid set up but I would try mounting the raid device.

mkdir /mnt/raid
mount /dev/mapper/sil_ahadagddbhfe /mnt/raid

I would also check /etc/fstab to see if it's mentioned there. Sometimes my new systems have auto mounted partitions in weird places. to make sure of this use

df -h

That will show any mounted drives on your system and there mount points

I hope this helps


Slick666:

I have tried to mount the raid as you suggested and I get an error that I will post tonight. I will also post the results of df -h

ak

akjafry 10-09-2007 10:00 AM

Resolved
 
Resolved the issue by removing one of the drives from the sata raid card and that allowed me to mount the disk. Copied all the data to the /tmp partition.

I have now inserted the second disk back and created a stripe raid from the sata Raid card Bios.

Thanks for the help

ak


All times are GMT -5. The time now is 08:17 AM.