Alright people be nice. First question here. I tried searching on blogs but could get anywhere.
I am using Debian which is on VMware so case may be little different.
Situation:
This is machine setup in VMware environment in data center, so I can not put bootable disk.
I have two option :
Resizing some dev/sda1 partition which seems impossible. So I have decided to do option 2.
Add another partition with remaining of disk space.
I already increased size on VMware to 300 GB (I also tried adding another disk 1st 30 GB, second 200 GB).
+++++++++++++++
less /proc/version
Linux version 3.16.0-4-amd64 ([email protected]) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt20-1+deb8u2 (2016-01-02)
/proc/version (END)
root@Penxxy3:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 29G 29G 0 100% /
udev 10M 0 10M 0% /dev
tmpfs 1.6G 29M 1.6G 2% /run
tmpfs 4.0G 12K 4.0G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 4.0G 0 4.0G 0% /sys/fs/cgroup
10.224.0.124:/data/backups/xxmer 11T 521G 11T 5% /homer
tmpfs 801M 4.0K 801M 1% /run/user/1000
root@PentahoSy3:/#
++++++++++++++
Command (m for help): p
Disk /dev/sda: 300 GiB, 322122547200 bytes, 629145600 sectors <<<<< 300 GiB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8476ef5a
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 60262399 60260352 28.8G 83 Linux
/dev/sda2 60264446 62912511 2648066 1.3G 5 Extended
/dev/sda5 60264448 62912511 2648064 1.3G 82 Linux swap / Solaris
Command (m for help): m
Command (m for help): n
Partition type
p primary (1 primary, 1 extended, 2 free)
l logical (numbered from 5)
Select (default p):
Using default response p.
Partition number (3,4, default 3):
First sector (60262400-629145599, default 60262400):
Last sector, +sectors or +size{K,M,G,T,P} (60262400-60264445, default 60264445):
Created a new partition 3 of type 'Linux' and of size 1023 KiB.
Command (m for help): p
Disk /dev/sda: 300 GiB, 322122547200 bytes, 629145600 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
Disklabel type: dos
Disk identifier: 0x8476ef5a
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 60262399 60260352 28.8G 83 Linux
/dev/sda2 60264446 62912511 2648066 1.3G 5 Extended
/dev/sda3 60262400 60264445 2046 1023K 83 Linux
/dev/sda5 60264448 62912511 2648064 1.3G 82 Linux swap / Solaris
Any idea how can i add another partition with rest of 260 odd GB ?