[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

resize help

From: ved
Subject: resize help
Date: Sat, 26 Apr 2003 12:38:57 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9

my partitions are as follows:

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda8             785M  324M  422M  44% /
/dev/hda1             9.5M  3.8M  5.3M  42% /boot
/dev/hda5             140M   98M   35M  75% /var
/dev/hda6             462M  358M   80M  82% /home
/dev/hdc1             1.0G  925M   47M  96% /usr

and this is the output from "parted /dev/hda"

(parted) print
Disk geometry for /dev/hda: 0.000-1550.390 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031      9.843  primary   ext3        boot
2          9.844   1549.406  extended
5          9.875    153.562  logical   ext3
6        153.593    630.000  logical   ext3
7        630.031    752.062  logical   linux-swap
8        752.093   1549.406  logical   ext3

what i want to do here is take about 200megs from / and place it on /var because i made the big mistake of not giving /var enough space and because of that i regularly have to delete some logs etc to make more space... and i'm using debian which uses /var for the apt-cache and other things... since i'm resizing the root partition i guess i have to use the parted floppy disk which i already made. I read the manual and there is a chapter with an example similar to this but i think something is wrong.. if someone could maybe explain to me which steps to take i would be really apreciated.. tanks in advance and sorry for bad english, if i didn't made myself clear in anything please tell me and i will try to explain it better =)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]