D
D
Dmitry2012-01-28 21:58:50
linux
Dmitry, 2012-01-28 21:58:50

Increased disk size. How to use the new location in Debian?

On a virtual machine (from selectel.ru) I have Debian mini. Initially took 1 GB. space, but over time it became not enough. In the settings of the virtual machine, I increased the hard disk to 2 GB.
Can you please tell me how to start using this place in Debian now? I'm weak in nix.

[email protected](none):/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 913M 851M 16M 99% /
tmpfs 56M 0 56M 0% /lib/init/rw
udev 51M 28K 51M 1% /dev
tmpfs 56M 8.0K 56M 1% /dev/shm
/dev/xvdp 134M 134M 0 100% /lib/modules

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey, 2012-01-29
@reaferon

First, format the new partition with the mkfs -t /dev/blablabla command,
and then mount

A
Andrew1000000, 2012-01-28
@Andrew1000000

As far as I remember, I solved a similar problem with a single
resize2fs command

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question