/dev/ubda space

When I do the df command on my Linode 64 I get this:

Filesystem 1k-blocks Used Available Use% Mounted on

/dev/ubda 99150 77071 16959 82% /

But 99150 blocks is only about 100 MB. Shouldn't /dev/ubda be using the whole 1GB disk space (minus the 64 MB I selected for swap)?? Where's the other 900 MB of space?

7 Replies

What does "df -h" print?

What is the size of the image reported in the Members area?

-Chris

df -h prints:

Filesystem Size Used Avail Use% Mounted on

/dev/ubda 97M 76M 16M 82% /

From the members area:

Debian 3.0r1 (Small) Disk Image

100 MB, ext3, readonly: No

Status: Ready

64MB Swap Image

64 MB, swap, readonly: No

Status: Ready

Storage Summary Total: 1024 Megabytes

Used: 164 Megabytes

Free: 860 Megabytes

Should I use the "Create an empty disk image" thing to make the other 860 MB available for use?

If I want to make the /dev/udba space bigger, do I need to create the bigger udba from scratch and then reload debian onto it, or is there a way to expand the existing udba?

@OrionXI:

Should I use the "Create an empty disk image" thing to make the other 860 MB available for use?

If I want to make the /dev/udba space bigger, do I need to create the bigger udba from scratch and then reload debian onto it, or is there a way to expand the existing udba?

That's right – either of the two. You could create an empty disk image and mount it some place on your filesystem.

http://www.linode.com/forums/viewtopic.php?p=335

Or, start over with the distro wizard and make the image max size from the start.

Currently we don't have an automated method to resize disks.

-Chris

****Here is my question: "Is there any way to resize the disk manually?"

I really need to get my /dev/ubda larger.****

@caker:

Currently we don't have an automated method to resize disks.

-Chris

It'd be great if you could get such a thing working. But for now, what are my options if I'd like to "start over"? (I just extended from 1 gig to 2 gigs of space, but then realized that it didn't just give me extra space).

If I create another disk and mount it, I'll have to place stuff there deliberately. I'd really like to continue placing stuff in my home directory or in the /usr/local path or whatever. And I can't do this (I don't think) if I just mount another drive.

Any suggestions?

Thanks.

oops, just found this post which explains some more.

@hiram:

****Here is my question: "Is there any way to resize the disk manually?"

I really need to get my /dev/ubda larger.****
Now there IS a way to resize a disk image. I just released the feature.

http://www.linode.com/forums/viewtopic.php?t=246

Enjoy!

-Chris

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct