How to mount Extra HHD's | slackware 14.2
Looked through this thread and did a search, came up with nothing..
How can i mount mt extra HDD's at start up ? I have edited fstab about 236443453265482 times, and it still doesn't work. WHY IS THIS ???? fstab looks like this >> #/dev/EXTRA HD's /dev/sdc1/ /home/nothing/blackhole2 auto defaults 0 0 /dev/sdb2/ /home/nothing/blackhole1 auto defaults 0 0 #/dev/BOOT & HOME DRIVE *** [DO NOT TOUCH] *** /dev/sda2 swap swap defaults 0 0 /dev/sda3 / ext4 defaults 1 1 /dev/sda1 /boot ext4 defaults 1 2 #/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 Can mount and open drive in GUI (KDE) Under root of course. Typing command: ls -la /dev/disk/by-id/ Does this root@dead:/home/nothing# ls -la /dev/disk/by-id/ total 0 drwxr-xr-x 2 root root 440 Feb 18 03:08 ./ drwxr-xr-x 8 root root 160 Feb 18 03:08 ../ lrwxrwxrwx 1 root root 9 Feb 18 03:08 ata-WDC_WD10EARS-00Y5B1_WD-WCAV55172964 -> ../../sda lrwxrwxrwx 1 root root 10 Feb 18 03:08 ata-WDC_WD10EARS-00Y5B1_WD-WCAV55172964-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Feb 18 03:08 ata-WDC_WD10EARS-00Y5B1_WD-WCAV55172964-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Feb 18 03:08 ata-WDC_WD10EARS-00Y5B1_WD-WCAV55172964-part3 -> ../../sda3 lrwxrwxrwx 1 root root 9 Feb 18 03:08 ata-WDC_WD30EZRX-00DC0B0_WD-WMC1T3071988 -> ../../sdb lrwxrwxrwx 1 root root 10 Feb 18 03:08 ata-WDC_WD30EZRX-00DC0B0_WD-WMC1T3071988-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Feb 18 03:08 ata-WDC_WD30EZRX-00DC0B0_WD-WMC1T3071988-part2 -> ../../sdb2 lrwxrwxrwx 1 root root 9 Feb 18 03:08 ata-WDC_WD30EZRX-00MMMB0_WD-WCAWZ1714545 -> ../../sdc lrwxrwxrwx 1 root root 10 Feb 18 03:08 ata-WDC_WD30EZRX-00MMMB0_WD-WCAWZ1714545-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 9 Feb 18 03:08 usb-General_USB_Flash_Disk_0510830000000119-0:0 -> ../../sdd lrwxrwxrwx 1 root root 10 Feb 18 03:08 usb-General_USB_Flash_Disk_0510830000000119-0:0-part1 -> ../../sdd1 lrwxrwxrwx 1 root root 9 Feb 18 03:08 wwn-0x12213581617442213889x -> ../../sdc lrwxrwxrwx 1 root root 10 Feb 18 03:08 wwn-0x12213581617442213889x-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 9 Feb 18 03:08 wwn-0x18399366050272923649x -> ../../sdb lrwxrwxrwx 1 root root 10 Feb 18 03:08 wwn-0x18399366050272923649x-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Feb 18 03:08 wwn-0x18399366050272923649x-part2 -> ../../sdb2 lrwxrwxrwx 1 root root 9 Feb 18 03:08 wwn-0x6480402500416589825x -> ../../sda lrwxrwxrwx 1 root root 10 Feb 18 03:08 wwn-0x6480402500416589825x-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Feb 18 03:08 wwn-0x6480402500416589825x-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Feb 18 03:08 wwn-0x6480402500416589825x-part3 -> ../../sda3 Am trying to do all this so i can share properly with samba :"( HALP |
Read this:
http://www.slackwiki.com/Fstab and find out what errors you have done editing this line Quote:
|
Also remove that trailing slash from "/dev/sdc1/" and "/dev/sdb2/".
|
Quote:
Thanks AlienBOB. |
Quote:
I knew i had an error somewhere, but i changed it so many times i still couldn't work it out, I guess i got confused specifying the correct mount point I think i have got it worked out now. I edited the fstab file to show: root@dead:/home/nothing# vi /etc/fstab #/dev/EXTRA HD's /dev/sdc1 /home/nothing/blackhole2 auto defaults 0 0 /dev/sdb2 /home/nothing/blackhole1 auto defaults 0 0 #/dev/BOOT & HOME DRIVE *** [DO NOT TOUCH] *** /dev/sda2 swap swap defaults 0 0 /dev/sda3 / ext4 defaults 1 1 /dev/sda1 /boot ext4 defaults 1 2 #/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 tmpfs /dev/shm tmpfs defaults root@dead:/home/nothing# su -l Its name is Public Opinion. It is held in reverence. It settles everything. Some think it is the voice of God. -- Mark Twain root@dead:~# logout root@dead:/home/nothing# logout root@dead:/home/nothing# exit exit nothing@dead:~$ mount /home/nothing/blackhole1 mount: only root can mount /dev/sdb2 on /home/nothing/blackhole1 nothing@dead:~$ su Password: When it is not necessary to make a decision, it is necessary not to make a decision. root@dead:/home/nothing# mount /home/nothing/blackhole1 Mount is denied because the NTFS volume is already exclusively opened. The volume may be already mounted, or another software may use it which could be identified for example by the help of the 'fuser' command. At this point i discovered i couldn't mount the drive because they had already been mounted in KDE. (changed to run level 4) So i just unmounted via the the GUI in KDE, then ran the commands again. root@dead:/home/nothing# mount /home/nothing/blackhole1 root@dead:/home/nothing# mount /home/nothing/blackhole2 root@dead:/home/nothing# ls /home/nothing/blackhole2 55000\ tabs/ Games/ Music\ Misc/ System\ Volume\ Information/ Videos/ VirtualDJ/ Downloads/ Music/ Programs/ Trout\ Stuff/ Vile\ stuff/ root@dead:/home/nothing# ls -la /home/nothing/blackhole2 total 2768 drwxrwxrwx 1 root root 4096 Feb 14 04:53 ./ drwx--x--x 30 nothing users 4096 Feb 18 08:03 ../ drwxrwxrwx 1 root root 0 Dec 19 17:27 .Trash-1000/ drwxrwxrwx 1 root root 4096 Oct 18 2015 55000\ tabs/ drwxrwxrwx 1 root root 73728 Jun 19 2016 Downloads/ drwxrwxrwx 1 root root 4096 Sep 8 2015 Games/ drwxrwxrwx 1 root root 2621440 Feb 2 13:52 Music/ drwxrwxrwx 1 root root 4096 Jan 26 02:54 Music\ Misc/ drwxrwxrwx 1 root root 40960 Dec 1 12:52 Programs/ drwxrwxrwx 1 root root 0 Jul 16 2016 System\ Volume\ Information/ drwxrwxrwx 1 root root 4096 Nov 25 22:10 Trout\ Stuff/ drwxrwxrwx 1 root root 49152 Jan 29 14:37 Videos/ drwxrwxrwx 1 root root 24576 Dec 1 12:57 Vile\ stuff/ drwxrwxrwx 1 root root 0 Jan 14 22:31 VirtualDJ/ root@dead:/home/nothing# ls -la /home/nothing/blackhole1 total 40 drwxrwxrwx 1 root root 4096 Feb 14 04:45 ./ drwx--x--x 30 nothing users 4096 Feb 18 08:03 ../ drwxrwxrwx 1 root root 0 Dec 19 17:27 .Trash-1000/ drwxrwxrwx 1 root root 28672 Feb 3 11:08 Movies/ drwxrwxrwx 1 root root 4096 Oct 29 23:49 tv/ root@dead:/home/nothing# So i'm guessing you can mark this up as solved, thanks heaps BratPit & AlienBOB! |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 11:09 AM. |