Monday, November 17, 2008

Mounting a Lacie NAS under OpenSuse Linux

After a bit of a struggle I found out how to mount a Lacie (Samba) NAS under OpenSuse.
There are two ways to mount it, for both ways it is needed to create a mount point directory. I created a directory called lacie under /mnt . This means the NAS can be reached via /mnt/lacie.
You can do it by hand, but temporarily, as follows:
sudo mount -t cifs -o username=the-username,password=the-password //192.168.1.3/lacie /mnt/lacie
However, if you want it to be mounted automatically each time you boot, then you need to add a line to the file /etc/fstab:
1) in the console, enter: kdesu kwrite /etc/fstab to edit the file (assuming you run KDE)
2) add a line simular to this line:
//192.168.1.3/lacie /mnt/lacie cifs
username=the-username,password=the-password,uid=0,gid=0 0 0

No comments:

Post a Comment