Memounting Hardisk Eksternal di Ubuntu Server



Pagi ini saya akan mengshare pengalaman cara untuk memounting hardisk, yang biasanya sering kita lakukan, jika kita mau mengambil data dari ubuntu server, cara simple dan mudah :)
 
root@node202:~# fdisk -l

Disk /dev/sda: 999.7 GB, 999653638144 bytes
255 heads, 63 sectors/track, 121534 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: 0x0003ce62

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          66      523264   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              66      121535   975699968   8e  Linux LVM

Disk /dev/sdb: 999.7 GB, 999653638144 bytes
255 heads, 63 sectors/track, 121534 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: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdd: 1999.3 GB, 1999307276288 bytes
255 heads, 63 sectors/track, 243068 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: 0x00000000

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/sdc: 999.7 GB, 999653638144 bytes
255 heads, 63 sectors/track, 121534 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: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/dm-0: 103.1 GB, 103079215104 bytes
255 heads, 63 sectors/track, 12532 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: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 125.0 GB, 124956704768 bytes
255 heads, 63 sectors/track, 15191 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: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 753.9 GB, 753900978176 bytes
255 heads, 63 sectors/track, 91656 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: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/md0: 1999.3 GB, 1999304785920 bytes
2 heads, 4 sectors/track, 488111520 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/sde: 500.1 GB, 500107861504 bytes
255 heads, 63 sectors/track, 60801 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: 0x55d3ffc5

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1       60802   488384032+   7  HPFS/NTFS


biasa untuk hardisk, adalah bntuk ntfs, jadi kita tidak bisa langsung mount, kita harus install dulu ntfs-3g

root@node202:~# apt-get install ntfs-3g
root@node202:~# mkdir /media/usbdisk
root@node202:~# mount /dev/sde1 /media/usbdisk/



cek ke directory /media/usbdisk/  apakah hardisk sudah termounting belum

root@node202:/media/usbdisk# ls -l
total 23360
drwxrwxrwx 1 root root     4096 Jun 20 14:53 BABY-SONG
drwxrwxrwx 1 root root        0 Sep 11 07:48 BACKUP PROXMOX 202
drwxrwxrwx 1 root root     4096 Jan 25  2014 DATA KOE
drwxrwxrwx 1 root root    28672 Sep 11 08:32 MASTER
drwxrwxrwx 1 root root     4096 Sep 11 08:23 movie
rwxrwxrwx 2 root root    23629 Dec 27  2013 Proposal-SI-Klinik.docx
drwxrwxrwx 1 root root     4096 May 14 11:19 System Volume Information
-rwxrwxrwx 2 root root 22818722 Jul 21  2013 undangan2.psd

berarti mounting sudah berhasil, kita bisa memakai sesuai kebutuhan :)

Komentar

Postingan populer dari blog ini

Metode Analisis PIECES

Aritmetika Bilangan Jam dan Operasi Hitungnya

Kerajaan Singasari