Jumat, 17 Januari 2025

PERLUAS RUANG DI LINUX SYSTEM

Add HDD to GuestVM On OS

01. Check host#

      # ls /sys/class/scsi_host

02. Scan host

      echo "- - -" > /sys/class/scsi_host/host1/scan

      echo "- - -" > /sys/class/scsi_host/host2/scan

      echo "- - -" > /sys/class/scsi_host/host3/scan

03. fdisk : check new HDD ID, 

      ex : /dev/sdb, /dev/sdc

      fdisk -l

04. mkfs: format HDD

      mkfs -t ext4 /dev/sd?

05. mount to target

      mount /dev/sd? /target_folder_name

06. (For Oracle) modify folder owder

      chmoe /target_folder_name

07. check hdd ID

      blkid 

08. Modify /etc/fstab : Auto mount HDD when system on

      mount -a

09. Check Disk

      df -h 



Tidak ada komentar:

Posting Komentar