Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

debian 8.3 second hdd in fstab

Status
Not open for further replies.

1in10

Technical User
Jun 29, 2014
8
BR
I need help for mounting a second hdd (no ssd) on debian 8.3, that same hdd I used on wheezy before, now I feel so stupid to access it. Before it was mounted from the root, or the member beeing part of wheel.
Using also on a laptop bsd10 and fedora23 I compared the fstab. Knowing that debian is coming very close to bsd or unix the case seems to be easy but it ain't so.
But even as root on the debian jessie machine the 2nd hdd is shown as an unknown special device in the ext2 format.

BSD makes its swap, procfs, fdesc and linprocfs all with rw 0 0
Fedora makes
Code:
                  mountpoint  FSTYPE  OPTIONS  DUMP PASS
/dev/mapper/fedora-root   /          ext4    defaults  1    1
UUID=                     /boot      ext4    defaults  1    2
/dev/mapper/fedora-home   /home      ext4    defaults  1    2
                                     swap              0    0

and debian jessie and its fstab looks like the following

Code:
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=73ab8c00-f096-43c7-91e7-8c07a85b21d5 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=b3d76e8b-f8ae-42d3-b966-55d5aa951203 none            swap    sw                0       0

Typing now blkid to get the UUID of that second hdd gives me the following information

Code:
/dev/sdb1: LABEL="save" UUID="6638df0e-22a9-4f70-9b77-93d40cbf9e5e" TYPE="ext2" PARTUUID="000f1893-01"

but anyhow I set it in the fstab it remains hidden or unknown. I put the dump pass to 0 and 0 or 1 and 2. The manpage of fstab tells the nameing or the usage of the UUID can cause problems. The command blkid says that it is there on /dev/sdb1 in ext2.
So if there is anyone who can give me a clue I appreciate it. Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top