You are not logged in.

#1 2005-02-27 20:00:39

game99
Member
From: MN
Registered: 2005-02-19
Posts: 24

Expand Partition

My /dev/ide/host0/bus0/target0/lun0/part7   which is my /var directory is full.
I did not partition this myself and want to know how make it bigger so I can be able to update Arch... because every time i do pacman -Syu, I get no space on system. 
Thanks


Seto--

Offline

#2 2005-02-27 21:03:18

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Expand Partition

If you keep the start of a partition the same you can make it and the filesystem on it smaller and bigger without problems in general. But as you're talking about part 7 there seems to be not much space left after that device, so it doesn't seem very useful to do dangerous partition changes.

What about cleaning up pacman's /var/cache/pacman/pkg/ directory, which has all the downloaded packages?

Offline

#3 2005-02-27 21:11:41

game99
Member
From: MN
Registered: 2005-02-19
Posts: 24

Re: Expand Partition

I'm new to linux.... Can you show me how to clean it up ?
thanks


Seto--

Offline

#4 2005-02-27 22:28:23

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Expand Partition

The directory is used to store downloaded packages in case they're needed later. It's safe to remove all files in it. You can either do it manually, or let pacman do it.

Quote from the pacman manpage (man pacman):

-c, --clean
Remove old packages from the cache.  When pacman downloads pack-
ages, it saves them in /var/cache/pacman/pkg.  If  you  need  to
free  up  diskspace,  you can remove these packages by using the
--clean option.  Using one --clean  (or  -c)  switch  will  only
remove  old  packages.  Use it twice to remove all packages from
the cache.

So first do `pacman -Sc`. Then use `df -h` or you favourite gui filebrowser to see how much free space there is left in /var. If you need more space then call `pacman -Scc` to remove all packages from the cache.

Offline

#5 2005-02-28 22:32:01

game99
Member
From: MN
Registered: 2005-02-19
Posts: 24

Re: Expand Partition

Thanks for the help..I got it working again


Seto--

Offline

#6 2005-02-28 22:43:10

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Expand Partition

you can also try a utility called "parted" to resize the partition...

Offline

Board footer

Powered by FluxBB