Jump to content

fstab bind mounting - this really doesn't look correct


crp

Recommended Posts

On a Debian Wheezy box:

# /etc/fstab: static file system information.
#
# 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=ce42cdd0-80a1-4429-b84c-04cd86e77387 /			 ext4 errors=remount-ro 0	 1
# /home was on /dev/sda10 during installation
UUID=95212b8b-ec28-45a1-9c50-6e5c20c89542 /home		 ext4 defaults	 0	 2
# /tmp was on /dev/sda9 during installation
UUID=c5877762-bfdb-472e-bd7a-8ef8ac2b3b3e /tmp		 ext4 defaults	 0	 2
# /usr was on /dev/sda6 during installation
UUID=d1e13853-e1d3-4870-afd6-b67a539dcff3 /usr		 ext4 defaults	 0	 2
# /var was on /dev/sda7 during installation
UUID=dc915949-d3a2-48ae-8c60-5547b283f9b6 /var		 ext4 defaults	 0	 2
# swap was on /dev/sda8 during installation
UUID=9d9d1dc0-d81e-4ed9-9d91-0ebf7d931a57 none		 swap sw			 0	 0
/dev/sr0	 /media/cdrom0 udf,iso9660 user,noauto	 0	 0
/dev/sda5	 /mnt/fileshare ntfs uid=1000,nosuid,dev,noatime,gid=100,exec	 0	 0
/dev/sdb1	 /mnt/SAC	 ntfs defaults	 0	 0
/mnt/fileshare/E	 /export/E	 bind bind 0
LABEL=part2_newHD	 /mnt/NewHDpart2 ext3 noatime 0	 0
/mnt/NewHDpart2 /export/NewHDpart2	 bind bind 0

Those 2 bind lines have me confused. The intent (i'm pretty sure) is for those directories to be NFS available to other pc's .

So why are they showing up here?

I think this is causing the df command to take quite a long time to run (over 2 minutes)

:~14:20:44$ df
Filesystem											 1K-blocks	 Used Available Use% Mounted on
rootfs												 330215 205956 107210 66% /
udev													 10240		 0	 10240 0% /dev
tmpfs													 388988	 14092 374896 4% /run
/dev/disk/by-uuid/ce42cdd0-80a1-4429-b84c-04cd86e77387 330215 205956 107210 66% /
tmpfs													 5120		 0	 5120 0% /run/lock
tmpfs												 2333620	 232 2333388 1% /run/shm
/dev/sda10											 53244436 34400964 16138784 69% /home
/dev/sda9												 376807	 10306 347045 3% /tmp
/dev/sda6											 8649992 3591664 4618932 44% /usr
/dev/sda7											 2882592 1075944 1660216 40% /var
/dev/sda5											 77723640 60983548 16740092 79% /mnt/fileshare
/dev/sdb1											 244223996 21157308 223066688 9% /mnt/SAC
/dev/sda5											 77723640 60983548 16740092 79% /export/E
/dev/sdb2											 240324580 240324580		 0 100% /export/NewHDpart2
/dev/sdb2											 240324580 240324580		 0 100% /mnt/NewHDpart2
/dev/sr0												 3904304 3904304		 0 100% /media/cdrom0
:~14:23:11$

 

(bummer, can not use underline when in code block)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...