I need to repartition my hard-drive because I am running out of room in /var.
I want to move 3 megs from /usr to /var
Here are the specs. Does anyone have the experience to answer the question?
I pretty much need a step-by-step script to get it done.
df -h dump
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 372M 178M 175M 51% /
/dev/hda1 45M 5.7M 37M 14% /boot
/dev/hda3 9.8G 273M 9.0G 3% /home
none 62M 0 61M 0% /dev/shm
/dev/hda2 27G 1.3G 24G 6% /usr
/dev/hda6 251M 154M 84M 65% /var
fstab listing
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
/dev/hda7 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
I want to move 3 megs from /usr to /var
Here are the specs. Does anyone have the experience to answer the question?
I pretty much need a step-by-step script to get it done.
df -h dump
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 372M 178M 175M 51% /
/dev/hda1 45M 5.7M 37M 14% /boot
/dev/hda3 9.8G 273M 9.0G 3% /home
none 62M 0 61M 0% /dev/shm
/dev/hda2 27G 1.3G 24G 6% /usr
/dev/hda6 251M 154M 84M 65% /var
fstab listing
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
/dev/hda7 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0