fdisk -l
Outpunya akan seperti ini :
root@apocalypsix:/home/apocalypsix# fdisk -l
WARNING: GPT (GUID Partition Table) detected on ‘/dev/sdb’! The util fdisk doesn’t support GPT. Use GNU Parted.
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x90909090Device Boot Start End Blocks Id System
/dev/sdb1 * 63 976768064 488384001 a5 FreeBSD
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e8382Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 976771071 488134657 5 Extended
/dev/sda5 501760 976771071 488134656 8e Linux LVMDisk /dev/mapper/gamelan-root: 497.7 GB, 497662558208 bytes
255 heads, 63 sectors/track, 60504 cylinders, total 971997184 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000Disk /dev/mapper/gamelan-root doesn’t contain a valid partition table
Disk /dev/mapper/gamelan-swap_1: 2134 MB, 2134900736 bytes
255 heads, 63 sectors/track, 259 cylinders, total 4169728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000Disk /dev/mapper/gamelan-swap_1 doesn’t contain a valid partition table
Disk /dev/mapper/cryptswap1: 2134 MB, 2134900736 bytes
255 heads, 63 sectors/track, 259 cylinders, total 4169728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5c311feaDisk /dev/mapper/cryptswap1 doesn’t contain a valid partition table
root@apocalypsix:/home/apocalypsix#
Lihat pada bagian yang saya beri warna hijau. Itu adalah harddisk kedua yang ada di server saya. Sedangkan yang warnanya biru, itu adalah harddisk primary tempat tersimpannya system.
mkdir /mnt/hdd2
Selanjutnya, untuk melakukan mount /dev/sdb1 ke /mnt/hdd2, lakukan perintah ini :
mount /dev/sdb1 /mnt/hdd2
Dan selesai. kita sudah berhasil melakukan mounting NTFS di linux atau mounting harddisk external di linux / flashdisk.
sudo apt-get install ntfs-3g
df -h
Pada server saya, outputnya seperti ini :
imtmanager@gamelan:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/gamelan-root 463G 14G 427G 4% /
udev 993M 4.0K 993M 1% /dev
tmpfs 401M 308K 401M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1002M 4.0K 1002M 1% /run/shm
/dev/sda1 228M 27M 190M 13% /boot
/dev/sdb1 459G 482M 435G 1% /mnt/hdd2