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 // /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: 
// /mnt/lacie cifs 
username=the-username,password=the-password,uid=0,gid=0 0 0

Leave a Reply

Your email address will not be published. Required fields are marked *