Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Mount hard drives to a static location
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Mount hard drives to a static location
25th Mar, 2013, 01:48 AM
Post: #3
zilexa Offline
Registered
Posts: 231
Joined: Feb 2013
Reputation: 9
RE: Mount hard drives to a static location
I am having the same issue.. I executed sudo mount -a before I started. Nothing came out. So good to get started. I first checked UUIDs and drive names (sda..):
Code:
xbian@xbian ~ $ sudo fdisk -l

Disk /dev/mmcblk0: 4025 MB, 4025483264 bytes
4 heads, 16 sectors/track, 122848 cylinders, total 7862272 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: 0x000f06a6

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1            2048       71679       34816    c  W95 FAT32 (LBA)
/dev/mmcblk0p2           71680     7862271     3895296   83  Linux

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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: 0x9f41ab23

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    67110911    33554432    7  HPFS/NTFS/exFAT
/dev/sda2        67110912   976773167   454831128   83  Linux

xbian@xbian ~ $ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 15 Jan  1  1970 29b6c2f5-5469-49f2-abd5-daa9149021cc -> ../../mmcblk0p2
lrwxrwxrwx 1 root root 10 Mar 24 16:17 433523ac-11c3-44a0-b9f6-ee30aaab2a03 -> ../../sda2
lrwxrwxrwx 1 root root 15 Jan  1  1970 8B12-9112 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 10 Mar 24 16:16 8E37-FB11 -> ../../sda1
so the two partitions on my usbdrive are /dev/sda1 and /dev/sda2.

Now I edited fstab adding these two lines:
Code:
UUID=8E37-FB11 /media/SmallRyan  exfat defaults 0 0
UUID=433523ac-11c3-44a0-b9f6-ee30aaab2a03 /media/BigRyan ext4 defaults 0 0

and wrote it to the file. But now sudo mount -a gives me this error:
Code:
xbian@xbian ~ $ sudo mount -a
[sudo] password for xbian:
FUSE exfat 0.9.7
fuse: failed to access mountpoint /media/SmallRyan: No such file or directory
mount: mount point media/BigRyan does not exist

I followed the nwlinux.com guide.. but it didn't do the trick. What did I do wrong?


EDIT: I think I solved it, mounting harddisk/partition to "media/SmallRyan" means I first have to create such a folder!
So executed these two commands:
Code:
xbian@xbian ~ $ mkdir /media/SmallRyan
mkdir: cannot create directory `/media/SmallRyan': Permission denied
xbian@xbian ~ $ sudo mkdir /media/SmallRyan
xbian@xbian ~ $ sudo mkdir /media/BigRyan
xbian@xbian ~ $ sudo mount -a
FUSE exfat 0.9.7
xbian@xbian ~ $

So now it should work. I am not sure however if both Transmission, Flexget and XBMC have writing permissions..

EDIT: I thought this would do the trick but it doesnt:
Code:
xbian@xbian ~ $ sudo chmod -R 777 /media/SmallRyan
chmod: changing permissions of `/media/SmallRyan': Function not implemented
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Mount hard drives to a static location - coreflake - 5th Mar, 2013, 08:18 PM
RE: Mount hard drives to a static location - Koenkk - 5th Mar, 2013, 10:46 PM
RE: Mount hard drives to a static location - zilexa - 25th Mar, 2013 01:48 AM
RE: Mount hard drives to a static location - Trinket - 25th Mar, 2013, 09:22 AM
RE: Mount hard drives to a static location - zilexa - 25th Mar, 2013, 07:15 PM
RE: Mount hard drives to a static location - zilexa - 14th Apr, 2013, 01:46 AM
RE: Mount hard drives to a static location - Trinket - 14th Apr, 2013, 04:30 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 2nd Jun, 2025, 12:21 PM Powered By MyBB, © 2002-2025 MyBB Group.