Monday, 3 February 2014

Step by Step Mount USB in Linux

Step by Step Mount USB in Linux


Step1: Check all mount points in this server

[root@oracledbdr1 ~]# fdisk -l
-bash: fdisk: command not found
[root@oracledbdr1 ~]#

--If the above command not found try the following---

Step2: Check all mount points in this server

[root@oracledbdr1 ~]# /sbin/fdisk -l

Disk /dev/sda: 1197.7 GB, 1197759004672 bytes
255 heads, 63 sectors/track, 145619 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          25      200781   83  Linux
/dev/sda2           83017      145619   502858597+  83  Linux
/dev/sda3              26       62491   501758145   83  Linux
/dev/sda4           62492       83016   164867062+   5  Extended
/dev/sda5           62492       72052    76798701   83  Linux
/dev/sda6           72053       78426    51199123+  83  Linux
/dev/sda7           78427       80976    20482843+  83  Linux
/dev/sda8           80977       83016    16386268+  82  Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      243201  1953512001   83  Linux
[root@oracledbdr1 ~]#

Step3: Create a directory to mount the usb

[root@oracledbdr1 ~]# mkdir /mnt/usb


Step4: Mount the usb 

[root@oracledbdr1 ~]# mount /dev/sdb1 /mnt/usb 

Step5: Check the usb mounted or not

[oracle@oracledbdr1 rman_live]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              71G  3.3G   65G   5% /
/dev/sda7              19G  6.6G   12G  37% /home
/dev/sda2             465G  206G  236G  47% /back
/dev/sda6              48G  181M   45G   1% /tmp
/dev/sda3             464G  385G   56G  88% /oracledb
/dev/sda1             190M   12M  169M   7% /boot
tmpfs                 7.9G     0  7.9G   0% /dev/shm
/dev/sdb1             1.8T  805G  937G  47% /mnt/usb
[oracle@oracledbdr1 rman_live]$ 

3 comments:

  1. Thnx for this post its helpful...

    ReplyDelete
  2. Jadwal Daftar Sabung Ayam SV388 15 Februari 2019 di Situs Judi Sabung Ayam Online Melalui Agen Resmi Taruhan Sabung Ayam Live Asli Thailand.

    Jumat, Banten 15 Februari 2019 – Pada Hari Tersebut Akan Di Laksanakan Berbagai Pertandingan Sabung Ayam Secara Live di Arena Sabung Ayam Thailand.

    Untuk Info Lebih Lanjut Bisa Hub kami Di :
    wechat : bolavita
    line : cs_bolavita
    whatsapp : +628122222995
    BBM: BOLAVITA

    ReplyDelete