Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Disk partitioning on Online.net server

xyzxyz Member

Hi
As someone who's only ever used VPSes in the past, I decided to try out the cheap Online.net dedicated server and thought the option of allowing you to partition in the disk was pretty cool.

I set my partitions like so: http://img89.imageshack.us/img89/4021/3h38.png
After the install, though:

# df -h
Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                   12G  747M   10G   7% /
udev                                                     10M     0   10M   0% /dev
tmpfs                                                   199M  188K  198M   1% /run
/dev/disk/by-uuid/b641bba1-9864-4be0-80fa-c35f4e1c16d9   12G  747M   10G   7% /
tmpfs                                                   5.0M     0  5.0M   0% /run/lock
tmpfs                                                   592M     0  592M   0% /run/shm
/dev/sda1                                               184M   23M  153M  13% /boot
/dev/sda8                                               216G  188M  205G   1% /home
/dev/sda6                                               3.8G   72M  3.5G   2% /tmp
/dev/sda7                                                12G  290M   11G   3% /var

Hmm, I thought the /home directory would be >400GB - where did that go?

# fdisk -l

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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00075ffd

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      391167      194560   83  Linux
/dev/sda2          391168    24391679    12000256   83  Linux
/dev/sda3        24391680    26392575     1000448   82  Linux swap / Solaris
/dev/sda4        26394622   976771071   475188225    5  Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5        26394624   485582847   229594112   83  Linux
/dev/sda6       485584896   493582335     3998720   83  Linux
/dev/sda7       493584384   517582847    11999232   83  Linux
/dev/sda8       517584896   976771071   229593088   83  Linux

Seems like /dev/sda5 is taking the space, but isn't mounted.

The above is actually my second attempt - thought I made a mistake on my first, but that doesn't seem to be the case.

I've never partitioned a drive like so, so I'm not entirely sure what I'm doing.
Is this behavior normal? Am I missing something? Where did the space vanish to?

Thanks for reading.

Comments

  • xyzxyz Member

    I tried again with a different layout, which seems to have fixed the missing space issue.
    Don't know what's with the problem above - weirdness over extended partitions perhaps? Still interested if anyone knows.

    For reference, settings:

    # df -h
    Filesystem                                              Size  Used Avail Use% Mounted on
    rootfs                                                   23G  927M   21G   5% /
    udev                                                     10M     0   10M   0% /dev
    tmpfs                                                   199M  164K  198M   1% /run
    /dev/disk/by-uuid/2994ea0c-3471-4dd5-aa35-c0ba6c6622b2   23G  927M   21G   5% /
    tmpfs                                                   5.0M     0  5.0M   0% /run/lock
    tmpfs                                                   592M     0  592M   0% /run/shm
    /dev/sda1                                               184M   23M  153M  13% /boot
    /dev/sda4                                               442G   33M  442G   1% /home
    
  • wow

    Thanked by 1crashdump
Sign In or Register to comment.