Openelec - Can't Mount 2nd HDD

KaMoS

Expert Member
Joined
Feb 18, 2007
Messages
1,377
Reaction score
275
Location
Cape Town
Hi Guys,

I just installed Openelec and it doesn't automatically mount my 1st Hard Drive. Here's my config:

Code:
root ~ # parted -l
Model: ATA ST2000DL003-9VT1 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  2000GB  2000GB  primary  ntfs


Model: WDC WD20 EARS-00MVWB0 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  2000GB  2000GB  primary  ntfs         boot


Model: SanDisk Cruzer Blade (scsi)
Disk /dev/sdc: 4005MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  255MB   254MB   primary  ext4         boot
 2      255MB   3988MB  3733MB  primary  ext4


root ~ # df -h
Filesystem                Size      Used Available Use% Mounted on
none                   1009.6M    292.0K   1009.3M   0% /dev
/dev/sdc1               234.4M    168.2M     66.2M  72% /flash
/dev/sdc2                 3.4G    150.3M      3.3G   4% /storage
/dev/loop0              157.6M    157.6M         0 100% /
none                   1011.3M         0   1011.3M   0% /dev/shm
/dev/sdb1                 1.8T      1.5T    325.4G  83% /var/media/Hydra

I've tried:
Code:
mkdir /var/media/Viper && mount /dev/sda1 /var/media/Viper
That fails :/

Please help if you have had this problem before. Also, I read somewhere that I need to create an autostart.sh file but I can't seem to get that right either :/
 
dude, you are supposed to edit your samba config

[Disk 2]
path = /media/2TBDrive
available = yes
browsable = yes
public = yes
writable = yes
 
Wish I knew that yesterday. I set it up as a NAS and could then view the share in OpenELEC.

Just out curiosity, what is the purpose of the samba.conf file? Should I create one anyway? Coz everything seems fine now.
 
wow, this guide is REALLY good. Thanks for the link. It's weird I couldn't find much on the forum about OpenELEC when I searched.
 
I've attached an NTFS formatted external drive and found the write speed to be crazy slow. I read up a bit and found it to be a linux issue and that one should change the /etc/fstab with a "noatime" command. Only thing is, one can't edit fstab in Openelec. Is there another way to get the drive operating at a decent write speed?
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X