Linux – Creating a Partition Size Larger Than 2TB using Parted Command
Linux General,Find Out Current Disk Size: fdisk -l /dev/sdb Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes 255 heads, 63 sectors/track, 364801 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…
Read moreAdd multiple interface and IP address – ubuntu and centos
Linux General,The below script uses to add bulk IPs for the same gateway and subnet : Save IPs in a file like /opt/dummy.txt and run the script to add them up. Interface add script – Ubuntu or Centos: echo Enter Distribution ubuntu\/centos read os if [ “$os” == “centos” ] then echo Enter Interface Name read…
Read more
