Re: where did my ata drives go?
On Fri, 10 Sep 2010 10:53:27 -0400 (EDT), Rick Pasotto wrote:
> The original line in /etc/fstab was:
>
> /dev/hdb1 /hd0 ext3 defaults 0 0
>
> That line got commented out and this line was added:
>
> UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d /hd0 ext3 defaults 0 0
>
> Using tune2fs I added the label 'hdb1' and added this line to /etc/fstab:
>
> LABEL=hdb1 /hd0 ext3 defaults 0 0
>
> 'mount /hd0' DOES NOT WORK! It gives this error message:
>
> mount: special device LABEL=hdb1 does not exist
>
> 'tune2fs -l /dev/sdc1' gives:
>
> ----------------------------------------
> tune2fs 1.41.12 (17-May-2010)
> Filesystem volume name: hdb1
> Last mounted on: <not available>
> Filesystem UUID: 03c23684-dea8-458d-b04b-0ae8a056cb0d
> Filesystem magic number: 0xEF53
> Filesystem revision #: 1 (dynamic)
> Filesystem features: has_journal filetype sparse_super large_file
> Filesystem flags: signed_directory_hash
> Default mount options: (none)
> Filesystem state: clean
> Errors behavior: Continue
> Filesystem OS type: Linux
> Inode count: 2443200
> Block count: 4883752
> Reserved block count: 244187
> Free blocks: 627830
> Free inodes: 2399380
> First block: 0
> Block size: 4096
> Fragment size: 4096
> Blocks per group: 32768
> Fragments per group: 32768
> Inodes per group: 16288
> Inode blocks per group: 509
> Last mount time: Mon Jul 19 11:40:39 2010
> Last write time: Thu Sep 9 21:38:18 2010
> Mount count: 90
> Maximum mount count: 38
> Last checked: Thu Jun 30 03:47:39 2005
> Check interval: 15552000 (6 months)
> Next check after: Tue Dec 27 02:47:39 2005
> Reserved blocks uid: 0 (user root)
> Reserved blocks gid: 0 (group root)
> First inode: 11
> Inode size: 128
> Journal inode: 8
> Journal backup: inode blocks
> ----------------------------------------
>
> The label (volume name) is there. The UUID matches. I get the same
> (non-)results whether I try mounting with the label or the UUID.
Hmm. I'm wondering about the mount point, /hd0. Maybe the mount
point doesn't exist. Issue the following command:
ls -Ald /hd0
What is the result? Do you get something like
steve@debian3:~$ ls -Ald /hd0
drwxr-xr-x 2 root root 4096 Feb 10 2010 /hd0
steve@debian3:~$
Or do you get something like
steve@debian3:~$ ls -Ald /hd0
ls: cannot access /hd0: No such file or directory
steve@debian3:~$
If you get the latter, the partition is not being mounted because
the mount point does not exist, and Linux is giving you a misleading
error message.
--
.''`. Stephen Powell
: :' :
`. `'`
`-
Reply to: