Hard disk

IDE Hard Disk (320GB) is mounted internally using a special bracket. The HDD will store music for the Squeezebox server, so that the router can act as a standalone music server without needing to turn on the PC.

alix-case-1
The HDD is added to the file /etc/fstab

root@voyage:~# cat /etc/fstab
#/dev/hda1       /       ext2    defaults,noatime,rw     0       0
proc            /proc   proc    defaults                0       0
tmpfs                   /tmp    tmpfs   nosuid,nodev                    0               0
#tmpfs           /rw     tmpfs   defaults,size=32M        0       0

### internal hard disk 320GB ###
/dev/hdb1 /media/internal ext3 defaults 1 1

### swap directory for squeezebox ###
/media/internal/swap swap swap defaults 0 0

### external USB disk ###
#/dev/sda4 /media/music ntfs-3g rw,uid=0,gid=0,dmask=0002,fmask=0003 0 0
#/dev/sda3 /media/windows ntfs-3g rw,uid=0,gid=0,dmask=0002,fmask=0003 0 0

The resulting mounts look as follows

root@voyage:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=31112,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=25532k,mode=755)
/dev/disk/by-label/ROOT_FS on / type ext2 (ro,noatime,errors=continue)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=127644k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime,size=127644k)
/dev/hdb1 on /media/internal type ext3 (rw,relatime,errors=continue,barrier=1,data=writeback)
tmpfs on /var/log type tmpfs (rw,nosuid,nodev,relatime,size=127644k)
tmpfs on /var/tmp type tmpfs (rw,nosuid,nodev,relatime,size=127644k)
tmpfs on /var/lib/samba type tmpfs (rw,nosuid,nodev,relatime,size=127644k)
tmpfs on /var/cache/ddclient type tmpfs (rw,nosuid,nodev,relatime,size=127644k)
Advertisements