1839662 Members
3165 Online
110152 Solutions
New Discussion

Mound harddisk

 
addendum_1
Occasional Advisor

Mound harddisk

I have reboot the server , but some hd can't be mount again , it is strange that I can seen these HD as below ,

#dmesg |grep scsi
scsi0:A:0:0: Tagged Queuing enabled. Depth 32
scsi0:A:1:0: Tagged Queuing enabled. Depth 32
scsi0:A:2:0: Tagged Queuing enabled. Depth 32
scsi0:A:4:0: Tagged Queuing enabled. Depth 32
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
Attached scsi disk sdc at scsi0, channel 0, id 2, lun 0
Attached scsi disk sdd at scsi0, channel 0, id 4, lun 0
"
"

When try to mount .

# mount -t ext3 /dev/sdc /tmp/temp
mount: wrong fs type, bad option, bad superblock on /dev/sdc,
or too many mounted file systems


#mount /dev/sdc /tmp/temp
mount: you must specify the filesystem type

Could advise how to mount it back ? thx
7 REPLIES 7
Rick Garland
Honored Contributor

Re: Mound harddisk

You sure that the filesystem type is ext3?
What if you mount with ext2 option instead?

You made the filesystems on the disk? Did you run the mke2fs command to make the filesystem? Need to have a filesystem made before mounting.

addendum_1
Occasional Advisor

Re: Mound harddisk

thx reply ,

I don't sure the filesystem type , I only gress it should be ext3 ,

yes , I use mke2fs to make the filesystem , could suggest how to mount it back ? thx
Rick Garland
Honored Contributor

Re: Mound harddisk

When you use the mke2fs command, you supply the -j switch to make it a journal filesystem, ext3.

By default the filesystems are ext2.

Which partition of disk sdc are you wanting to mount?

mount /dev/sdc10 /tmp/temp

What happens when you mount without the -t switch?

Is there an entry in the /etc/fstab for what you are doing?

addendum_1
Occasional Advisor

Re: Mound harddisk

the below is the error , no entry in /etc/fstab . thx

mount /dev/sdc1 /tmp/temp
mount: error while guessing filesystem type
mount: you must specify the filesystem type


mount -t ext2 /dev/sdc1 /tmp/temp
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
Ivan Ferreira
Honored Contributor

Re: Mound harddisk

You are trying to mount the wrong device. The /dev/sdc is the disk, and you must specify a partition number, like /dev/sdc1, /dev/sdc2, that's why you have the error.

Use fdisk -l to list the partitions.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Rick Garland
Honored Contributor

Re: Mound harddisk

post a copy of your /etc/fstab file, the df -k output, and the fdisk -l output.

addendum_1
Occasional Advisor

Re: Mound harddisk

I got it already , thx all replies.