LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2007, 11:41 AM   #1
akjafry
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
/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
 
Old 10-05-2007, 12:55 PM   #2
Slick666
Member
 
Registered: Feb 2006
Distribution: Ubuntu 8.04; Debian Etch
Posts: 167

Rep: Reputation: 33
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
 
Old 10-05-2007, 02:48 PM   #3
akjafry
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Slick666 View Post
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
 
Old 10-09-2007, 10:00 AM   #4
akjafry
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/sda is not a valid block device C++ Linux - Hardware 23 03-24-2008 10:07 AM
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
/dev/sda is not a valid block device craig467 Linux - General 23 02-17-2006 04:50 PM
/dev/sda1 NOT a valid block device ??? mack4evr SUSE / openSUSE 5 10-15-2004 01:06 PM
sda is not a valid block device joesecone Linux - Hardware 7 07-29-2002 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration