Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have ubuntu server and can not figure out with my space

Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1      8.0G  7.8G     0 100% /
udev            3.7G  8.0K  3.7G   1% /dev
tmpfs           746M  180K  745M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            3.7G     0  3.7G   0% /run/shm
/dev/xvdb       414G  1.7G  391G   1% /mnt
overflow        1.0M  4.0K 1020K   1% /tmp

I want to use the device mounted on /mnt as my primary one, because I'm running out of space. But i don't know what /dev/xvda1 is stands for, any suggestions?

Maybe i can resize device mounted on /? How to do so?

share|improve this question

closed as off-topic by Jenny D, Rex, MichelZ, mdpc, Katherine Villyard Apr 14 '14 at 22:37

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – mdpc, Katherine Villyard
  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Jenny D, Rex, MichelZ
If this question can be reworded to fit the rules in the help center, please edit the question.

And here you have information about resizing xen disks: – dave Apr 14 '14 at 8:45
up vote 1 down vote accepted

The device xvda1 is a partition on a virtual hard disk, the equivalent of sda1.

  • xvd indicates a Xen virtual block device, while sd would be a physical disk.
  • a indicates the first disk
  • 1 indicates the first partition on the disk.

Broadly speaking, you can't do anything to your main boot partition - resize it, replace it etc - while you're booted from it.

I'm guessing this is a virtual machine on EC2? If so, be careful of using xvdb because it's probably ephemeral storage, which will disappear next time you reboot. You can use it for temporary files, log files etc, but it would be a very bad idea to use it for your actual data.

To expand the space on xvda1, you'll need to shut the machine down and edit its storage settings in the AWS console.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.