SAMBA : Sharing WD Mybooks Studio NTFS di Opensuse 11.3


WD Mybook 2TB

cek device harddisk mybook “fdisk -l”
—————————————————

Disk /dev/sdc: 1999.7 GB, 1999696297984 bytes
255 heads, 63 sectors/track, 243115 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5a3aa3bb
———————————————————–
Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      243116  1952827392    7  HPFS/NTFS 

device WD mybook tsb terletak pada /dev/sdc1
kemudian buat partisi di /media — > mkdir /media/sto1
lalu set chmod sto ke 777 — > chmod 777 /media/sto1

set device ke fstab agar auto mounting saat booting — > vi /etc/fstab
sisipkan ini — > /dev/sdc1    /media/sto1    ntfs-3g    defaults    0 0

restart sistem — > reboot

cek partisi “df -Th
——————–
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/sda1 reiserfs     21G  1.3G   19G   7% /
devtmpfs  devtmpfs    998M  236K  998M   1% /dev
tmpfs        tmpfs   1000M  4.0K 1000M   1% /dev/shm
/dev/sda5 reiserfs    100G  6.2G   94G   7% /home
/dev/sda8 reiserfs     50G   11G   40G  22% /opt
/dev/sda9 reiserfs     26G  4.1G   21G  17% /srv
/dev/sda7 reiserfs     50G  3.6G   47G   8% /usr
/dev/sda6 reiserfs     50G  700M   50G   2% /var
/dev/loop0 iso9660    4.1G  4.1G     0 100% /srv/opensuse113/nfs
/dev/sdb1 reiserfs    932G  777G  155G  84% /home/serverfile
——————————————————-
/dev/sdc1  fuseblk    1.9T  122G  1.7T   7% /media/sto1
——————————————————-

device WD mybook sudah di mounting ke dalam sistem

agar device dapat di sharing ke LAN, buka config samba — > vi /etc/samba/smb.conf

sisipkan baris berikut (path sesuaikan dengan keinginan anda)

[sto1]
comment = sto1OIUFH(#*RY#)
writable = yes
public = yes
create mode = 777
directory mode = 777
path = /media/sto1/
available = yes

ctrl + c + :wq

selamat mencoba

permalink

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: