Skip to content

Mounting DNS-323 Drive in linux

March 20, 2011

When you are working on multiple platform then you should much have common storage area which is accessible from windows as well as linux. If you have network drive then you can mount device in linux system. I have D-link’s DNS323 NAS server which you can mount in linux using below commands

Mapping DNA-323 drive on linux:

1. Login as root

2. Use below command to mount NAS drive at /home/elinux/NAS

mount -t cifs //192.168.1.5/Volume_1 /home/elinux/NAS -o guest,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,nobrl,noserverino

IP address of my NAS server is: 192.168.1.5 and Network drive Label is Volume_1

After this command you can access all files on this drive at /home/elinux/NAS location

3. You won’t see this mapped drive after linux system is rebooted, so edit /etc/fstab and add below line

//192.168.1.5/Volume_1 /home/elinux/NAS cifs guest,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0

This will automatically mount network drive after reboot.

Advertisements
One Comment
  1. “Mounting DNS-323 Drive in linux Ashish speaks” actually makes myself think a
    small amount more. I admired each and every single piece of this post.

    I appreciate it ,Taylor

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: