LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Red Hat 7.2 external scsi raid unable to mount (https://www.linuxquestions.org/questions/linux-newbie-8/red-hat-7-2-external-scsi-raid-unable-to-mount-703144/)

mcsaky 02-08-2009 11:38 AM

Red Hat 7.2 external scsi raid unable to mount
 
Hello all and thank you for a nice website. I have been reading it for 2-3 years and found plenty help. No I have a small issue I cant find info on. Will try to explain everything as well as I can :)
I have a sym53c895 scsi card with external and internal connectors. I have 2 x 18gig drives on the internal connectors and a dedicaed raid on the external cable connector.
I rev up the old raid and wait for a ready. Then I boot up my Red Hat 7.2 and do the following commands.

----

/sbin/fdisk -l

Disk /dev/sda: 255 heads, 63 sectors, 2213 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 6 48163+ 83 Linux
/dev/sda2 7 136 1044225 82 Linux swap
/dev/sda3 137 2164 16289910 83 Linux
/dev/sda4 2165 2213 393592+ f Win95 Ext'd (LBA)
/dev/sda5 2165 2213 393561 83 Linux

Disk /dev/sdb: 255 heads, 63 sectors, 2213 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2180 17510818+ 83 Linux
/dev/sdb2 2181 2213 265072+ 83 Linux

Disk /dev/sdc: 64 heads, 32 sectors, 80610 cylinders
Units = cylinders of 2048 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 64488 66035696 83 Linux

----

The raid is the /dev/sdc1. I do the next commands.

/sbin/fdisk /dev/sdc I have also tryed with /dev/sdc1 but that does not work. Only /dev/sdc will change the ID System to whatever I select.

Command (m for help): p

Disk /dev/sdc: 64 heads, 32 sectors, 80610 cylinders
Units = cylinders of 2048 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 64488 66035696 83 Linux

Just in case I change the ID to 83 and do a w for write and exit.

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.

----

No /sbin/fdisk -l produces same as above. When I no try to mount it either on /dev/sdc this is what happens.

[root@aiexchange michael]# mount -t auto /dev/sdc /mnt/fileserver/
mount: you must specify the filesystem type

and also for /dev/sdc1 this is what happens

[root@aiexchange michael]# mount /dev/sdc1 -t auto /mnt/fileserver/
mount: you must specify the filesystem type

----

The /etc/mtab shows

/dev/sda5 / ext3 rw 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/sda1 /boot ext3 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/sda3 /home ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/sdb1 /usr ext3 rw 0 0
/dev/sdb2 /var ext3 rw 0 0

----

The dmesg | less shows

sym53c895-0-<0,*>: FAST-40 SCSI 40.0 MB/s (25.0 ns, offset 31)
SCSI device sda: 35566480 512-byte hdwr sectors (18210 MB)
Partition check:
sda: sda1 sda2 sda3 sda4 < sda5 >
sym53c895-0-<1,*>: FAST-40 SCSI 40.0 MB/s (25.0 ns, offset 15)
SCSI device sdb: 35566480 512-byte hdwr sectors (18210 MB)
sdb: sdb1 sdb2
sym53c895-0-<3,*>: FAST-20 SCSI 20.0 MB/s (50.0 ns, offset 16)
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 240k freed
Adding Swap: 1044216k swap-space (priority -1)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.259 $ time 17:18:11 Sep 6 2001
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0x1000, IRQ 19
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
EXT3 FS 2.4-0.9.8, 25 Aug 2001 on sd(8,5), internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.8, 25 Aug 2001 on sd(8,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.8, 25 Aug 2001 on sd(8,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.8, 25 Aug 2001 on sd(8,17), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.8, 25 Aug 2001 on sd(8,18), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
parport0: PC-style at 0x378 [PCSPP]
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
ip_conntrack (8191 buckets, 65528 max)
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
eth0: OEM i82557/i82558 10/100 Ethernet, 00:D0:B7:DF:A9:BD, IRQ 19.
Board assembly 733470-006, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x04f4518b).
ide-floppy driver 0.97
hda: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
cdrom: This disc doesn't have any tracks I recognize!
VFS: Can't find ext3 filesystem on dev sd(8,33).
VFS: Can't find ext2 filesystem on dev sd(8,33).
FAT: Did not find valid FSINFO signature.
Found signature1 0x66024a1e signature2 0xc88b6602 sector=4.
[MS-DOS FS Rel. 12,FAT 32,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0xf8,cs=8,#f=0,fs=0,fl=8388736,ds=0,de=0,data=0,se=0,ts=0,ls=512,rc=0,fc=0]
hard sector size = 512
VFS: Can't find a valid FAT filesystem on dev 08:21.
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
FAT: Did not find valid FSINFO signature.
Found signature1 0x66024a1e signature2 0xc88b6602 sector=4.
[MS-DOS FS Rel. 12,FAT 32,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0xf8,cs=8,#f=0,fs=0,fl=8388736,ds=0,de=0,data=0,se=0,ts=0,ls=512,rc=0,fc=0]
hard sector size = 512
VFS: Can't find a valid FAT filesystem on dev 08:21.
VFS: Can't find ext3 filesystem on dev sd(8,33).
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
FAT: Did not find valid FSINFO signature.
Found signature1 0x66024a1e signature2 0xc88b6602 sector=4.
[MS-DOS FS Rel. 12,FAT 32,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0xf8,cs=8,#f=0,fs=0,fl=8388736,ds=0,de=0,data=0,se=0,ts=0,ls=512,rc=0,fc=0]
hard sector size = 512
VFS: Can't find a valid FAT filesystem on dev 08:21.
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
FAT: Did not find valid FSINFO signature.
Found signature1 0x66024a1e signature2 0xc88b6602 sector=4.
[MS-DOS FS Rel. 12,FAT 32,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0xf8,cs=8,#f=0,fs=0,fl=8388736,ds=0,de=0,data=0,se=0,ts=0,ls=512,rc=0,fc=0]
hard sector size = 512
VFS: Can't find a valid FAT filesystem on dev 08:21.
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
VFS: Can't find ext3 filesystem on dev sd(8,33).
FAT: Did not find valid FSINFO signature.
Found signature1 0x66024a1e signature2 0xc88b6602 sector=4.
[MS-DOS FS Rel. 12,FAT 32,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0xf8,cs=8,#f=0,fs=0,fl=8388736,ds=0,de=0,data=0,se=0,ts=0,ls=512,rc=0,fc=0]
hard sector size = 512
VFS: Can't find a valid FAT filesystem on dev 08:21.
FAT: Did not find valid FSINFO signature.
Found signature1 0x66024a1e signature2 0xc88b6602 sector=4.
[MS-DOS FS Rel. 12,FAT 32,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0xf8,cs=8,#f=0,fs=0,fl=8388736,ds=0,de=0,data=0,se=0,ts=0,ls=512,rc=0,fc=0]
hard sector size = 512
VFS: Can't find a valid FAT filesystem on dev 08:21.
FAT: Did not find valid FSINFO signature.
Found signature1 0x66024a1e signature2 0xc88b6602 sector=4.
[MS-DOS FS Rel. 12,FAT 32,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0xf8,cs=8,#f=0,fs=0,fl=8388736,ds=0,de=0,data=0,se=0,ts=0,ls=512,rc=0,fc=0]
hard sector size = 512
VFS: Can't find a valid FAT filesystem on dev 08:21.
cdrom: This disc doesn't have any tracks I recognize!
sym53c895-0-<3,*>: FAST-20 SCSI 20.0 MB/s (50.0 ns, offset 16)
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:20.
VFS: Can't find ext3 filesystem on dev sd(8,32).
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
VFS: Can't find ext3 filesystem on dev sd(8,32).
VFS: Can't find ext3 filesystem on dev sd(8,33).
FAT: Did not find valid FSINFO signature.
Found signature1 0x66024a1e signature2 0xc88b6602 sector=4.
[MS-DOS FS Rel. 12,FAT 32,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0xf8,cs=8,#f=0,fs=0,fl=8388736,ds=0,de=0,data=0,se=0,ts=0,ls=512,rc=0,fc=0]
hard sector size = 512
VFS: Can't find a valid FAT filesystem on dev 08:21.
FAT: Did not find valid FSINFO signature.
Found signature1 0x66024a1e signature2 0xc88b6602 sector=4.
[MS-DOS FS Rel. 12,FAT 32,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0xf8,cs=8,#f=0,fs=0,fl=8388736,ds=0,de=0,data=0,se=0,ts=0,ls=512,rc=0,fc=0]
hard sector size = 512
VFS: Can't find a valid FAT filesystem on dev 08:21.
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:20.
VFS: Can't find ext3 filesystem on dev sd(8,33).
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
SCSI device sdc: 165089280 512-byte hdwr sectors (84526 MB)
sdc: sdc1
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 08:20.
FAT: Did not find valid FSINFO signature.
Found signature1 0x66024a1e signature2 0xc88b6602 sector=4.
[MS-DOS FS Rel. 12,FAT 32,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0xf8,cs=8,#f=0,fs=0,fl=8388736,ds=0,de=0,data=0,se=0,ts=0,ls=512,rc=0,fc=0]
hard sector size = 512
VFS: Can't find a valid FAT filesystem on dev 08:21.

----

Even if I try to mount either sdc or sdc1 or -t auto or ext3 or ext or whatever, nothing seems to mount it. If anyone has a clue here please let me know if you need more information and I can get it for you. Many thx in advance.
/Michael

Isix 02-08-2009 11:57 AM

I will not be able to help you with that one --- but allow me to welcome you to LQ, and just tell you that the codes you copy-pasted from the terminal will look nice, just as they look in the terminal if you paste them in between

[ code ] ... [ /code ]

Just remove the spaces around the words "code" and "/code". That way the others will read them easily. You can also preview the post before sending it.

Anyway I wish you all the best ... help will come soon!

jimjones 02-08-2009 12:02 PM

Just a thought - try erasing the disk again (deleting the partition) and recreating it
Between doing this make sure you write the changes (exiting fdisk using w) and look if you dont get msg you need to reboot.

If you have data on the disk you could verify the partition table(fdisk again) and run a check on the filesystem (fsck /dev/sdc1) - if this starts finding errors you might have lost your data but you can try and go ahead anyway

Oh and btw - you can only mount partitions - not disks so its
mount .. /dev/sdc1
and not
mount .. /dev/sdc

mcsaky 02-08-2009 12:13 PM

First of thank you for incredibly fast replies, havnt been sitting here for more than 15min lol.

This is what I tryed

/sbin/fdisk /dev/sdc1

n to make a partition with start 1 end 64488
ID is 83 and System is Linux
w to save config

the /sbin/fdisk -l produces below code

code

[root@aiexchange /]# /sbin/fdisk -l

Disk /dev/sda: 255 heads, 63 sectors, 2213 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 6 48163+ 83 Linux
/dev/sda2 7 136 1044225 82 Linux swap
/dev/sda3 137 2164 16289910 83 Linux
/dev/sda4 2165 2213 393592+ f Win95 Ext'd (LBA)
/dev/sda5 2165 2213 393561 83 Linux

Disk /dev/sdb: 255 heads, 63 sectors, 2213 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2180 17510818+ 83 Linux
/dev/sdb2 2181 2213 265072+ 83 Linux

Disk /dev/sdc: 64 heads, 32 sectors, 80610 cylinders
Units = cylinders of 2048 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 64488 66035696 83 Linux
[root@aiexchange /]#

/code

the fdisk -l produces lower code

code

[root@aiexchange /]# mount /dev/sdc1 /mnt/fileserver/
mount: you must specify the filesystem type

/code

when I mount -t auto and check directory in /mnt/ below code is produced

code

[root@aiexchange /]# /mount -t auto /dev/sdc1 /mnt/fileserver/
bash: /mount: No such file or directory
[root@aiexchange /]# ls /mnt/
cdrom fileserver floppy
[root@aiexchange /]#

/code

As you can see I made a new PRIMARY partition, saved it as ID 83 Linux. Mounting still wont work its realy wierd.

/Michael

Isix 02-08-2009 12:20 PM

When pasting the codes you forgot square brackets [] around the words code and /code

jimjones 02-08-2009 12:46 PM

ok - if you have recreated the partition mount it like this:
mount -t ext3 /dev/sdc1 /mount/yourmountpoint

check dmesg / sys log for errors

also see what fsck says if you try this command :

fsck /dev/sdc1

mesiol 02-08-2009 01:52 PM

Hi,

the steps to integrate a new disk requires to setup a filesystem after partitioning the disk.

So this means you require to do a

Code:

mkfs -t ext3 /dev/sdc1
after that you can

Code:

mount -t ext3 /dev/sdc1 /somewhere
Without a filesystem there is nothing to mount ;)

mcsaky 02-08-2009 04:31 PM

Quote:

Originally Posted by Isix (Post 3436257)
When pasting the codes you forgot square brackets [] around the words code and /code

I will not forget it again :)

mcsaky 02-08-2009 05:02 PM

Quote:

Originally Posted by mesiol (Post 3436365)
Hi,

the steps to integrate a new disk requires to setup a filesystem after partitioning the disk.

So this means you require to do a

Code:

mkfs -t ext3 /dev/sdc1
after that you can

Code:

mount -t ext3 /dev/sdc1 /somewhere
Without a filesystem there is nothing to mount ;)



I LOVE YOU! :) Dont worry Im married and have a wife... Anyway that worked, I have been fighting this issue for 5 days+ and finaly got it mounted. I actualy had to do following,

/sbin/mkfs.ext2 /dev/sdc1 it set the raid drive up and then mounted with
mount /dev/sdc1 /mnt/fileserver

Many many thx to all of you and I hope to be apart of this awesome community forever and ever and eve... well u get the point :)

/Michael

Isix 02-08-2009 08:25 PM

I am happy you got things right ... thats the beauty of the :Pengy: community


All times are GMT -5. The time now is 03:00 PM.