LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-12-2012, 09:49 AM   #1
rey
Member
 
Registered: Sep 2011
Posts: 49

Rep: Reputation: Disabled
can't auto mount ext3 drive, "mount terminated with status 32"


hello
i'm trying to mount an old storage ext3 drive, the ubuntu installer showed FREE SPACE, it's full up to 2/3 or so, sometimes it's possible to mount it with a standard 'mount /dev/sdc', it only shows sdc, not sdc1 and the like, if i try to set the auto option it will stop at boot asking for an S to skip or a M to fix manually, that's very bad because it happens before ssh starts

i wonder how to fix that without losing the data, maybe creating a new partition table but i'm not sure how it would affect the data on it, i'm not that experienced on partitions and drives

thanks for your help
 
Old 05-12-2012, 10:12 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
first I would try to identify the problem, so run fsck (without repairing). Next, I would look for another disk and copy the content. If you can reach any filesystem you can do it file by file.
 
Old 05-12-2012, 04:22 PM   #3
rey
Member
 
Registered: Sep 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
hello, thanks for your repĺy

here is the output:
Code:
fsck -C -t ext3 /dev/sdc
fsck from util-linux 2.20.1
e2fsck 1.42 (29-Nov-2011)
/dev/sdc has been mounted 46 times without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sdc: 225536/15269888 files (1.3% non-contiguous), 28355030/61049646 blocks


i suspect it's something about partitions or the partition table on disk, i remember
that the ubuntu installer showed the entire disk as free space, other disks showed ext3 partition

thanks again!

Last edited by rey; 05-12-2012 at 04:33 PM.
 
Old 05-12-2012, 06:52 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
It appears that this drive does not have a partition table since you are mounting and fscking /dev/sdc. What do you mean by sometimes mounting. Are there any error messages? Check the output of the dmesg command to see if there are errors related to reading the disk.

If you do try fix it by creating a partition table you will mess up the filesystem. It isn't going to harm anything to leave things as is but you probably want to only mount it manually. I used to have several flash drives that didn't have a partition table and worked just fine except that they had to be manually mounted.

If you do want to create a partition table / primary partition make sure to backup the data first. Create and format the file system and then copy the data back.

What type of disk i.e IDE, SATA, external USB etc.

Last edited by michaelk; 05-12-2012 at 06:53 PM.
 
Old 05-12-2012, 07:06 PM   #5
rey
Member
 
Registered: Sep 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
it's a IDE 250 gb drive

it fails at boot but it mounts fine manually

the errors look just like the thread title, not very informative

thanks for your help, i'll try to make some space for backing up
although i would like to fix it
 
Old 05-12-2012, 07:07 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Just to emphasise, using an entire disk (i.e. without partitions) is unusual, but is fully supported by Linux.
Just mount the drive to a mountpoint rather than trying to mount a partition. All your files should be accessible.
 
Old 05-12-2012, 07:15 PM   #7
rey
Member
 
Registered: Sep 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Just mount the drive to a mountpoint rather than trying to mount a partition. All your files should be accessible.
ok please tell me the difference, is it possible to put that in fstab and automount it?

thanks for your reply
 
Old 05-12-2012, 07:26 PM   #8
rey
Member
 
Registered: Sep 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
this is the output of fdisk -l, no partitions there!!!

Code:
Disk /dev/sdc: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x14de14dd

   Device Boot      Start         End      Blocks   Id  System
 
Old 05-12-2012, 07:30 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Post the line in your fstab for mounting the drive.
 
Old 05-12-2012, 08:21 PM   #10
rey
Member
 
Registered: Sep 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
here it is:
Code:
/dev/sdc /storage1 ext3 rw,user,auto,exec 0 0
 
  


Reply



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
can't auto mount ext3 drive, "mount terminated with status 32" rey Linux - Security 1 05-12-2012 09:57 AM
busybox mount iso: "mount could not find a spare loop device" error frenchn00b Linux - General 0 01-08-2010 02:37 AM
Pen drive not mounted ...."Unable to mount, No media in drive" subashk80 Linux - Newbie 6 08-17-2009 01:38 AM
why only "mount /dev/sda /mnt/usb" works and not "mount /dev/sda1..." ? gromot Linux - General 7 05-19-2009 10:18 AM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:20 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