kvarnstj
25-03-14, 09:09
Hi!
There is a problem in the VIX images (not only Zeus, also older), for mounting the connected storage drives at startup.
I have a HDD drive (SATA) and a 8Gb USB stick connected to my Ultimo. At reboot, it is a matter of luck which drive will be mounted as hdd.
This becomes a problem, when the recording path is set to /media/hdd/movies/. Sometimes the usb stick will be mounted as "hdd" and the box will record to the stick instead of the real HDD drive.
When this happens, the HDD drive is mounted e.g. as /media/sdb1 while the usb stick gets the /media/hdd.
I have hacked the /etc/fstab with following lines:
/dev/sdb1 /media/hdd ext3 defaults 0 1
/dev/sda1 /media/usb ext3 defaults 0 1
...but even with this, the box sometimes screws up the mounting, since the HDD is not always sdb
...
root@vuultimo:/media/hdd/movie# parted -l
Model: ATA SAMSUNG HD501LJ (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 4096B 500GB 500GB primary ext3
Model: SanDisk Cruzer Fit (scsi)
Disk /dev/sdb: 8004MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 8004MB 8003MB ext4 primary
Is there some bulletproof way to get the mounting correct?
I want the mounting to be
/media/hdd for the HDD drive
/media/usb for the USB
ALWAYS!!
There is a problem in the VIX images (not only Zeus, also older), for mounting the connected storage drives at startup.
I have a HDD drive (SATA) and a 8Gb USB stick connected to my Ultimo. At reboot, it is a matter of luck which drive will be mounted as hdd.
This becomes a problem, when the recording path is set to /media/hdd/movies/. Sometimes the usb stick will be mounted as "hdd" and the box will record to the stick instead of the real HDD drive.
When this happens, the HDD drive is mounted e.g. as /media/sdb1 while the usb stick gets the /media/hdd.
I have hacked the /etc/fstab with following lines:
/dev/sdb1 /media/hdd ext3 defaults 0 1
/dev/sda1 /media/usb ext3 defaults 0 1
...but even with this, the box sometimes screws up the mounting, since the HDD is not always sdb
...
root@vuultimo:/media/hdd/movie# parted -l
Model: ATA SAMSUNG HD501LJ (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 4096B 500GB 500GB primary ext3
Model: SanDisk Cruzer Fit (scsi)
Disk /dev/sdb: 8004MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 8004MB 8003MB ext4 primary
Is there some bulletproof way to get the mounting correct?
I want the mounting to be
/media/hdd for the HDD drive
/media/usb for the USB
ALWAYS!!