View Single Post
  #1   (View Single Post)  
Old 1st September 2009
revzalot's Avatar
revzalot revzalot is offline
Shell Scout
 
Join Date: May 2008
Posts: 123
Default How to swap partitions Help

I made a mistake on my partition layout on my server:

Code:
$ df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/wd0a      509M   38.8M    445M     8%    /
/dev/wd0h      182G   34.0K    173G     0%    /home
/dev/wd0d     1008M    2.0K    958M     0%    /tmp
/dev/wd0g      5.9G    2.3G    3.3G    41%    /usr
/dev/wd0f      3.9G    2.9G    911M    76%    /var
/dev/wd0e     98.4G   22.6M   93.5G     0%    /var/mysql
/dev/wd1a      291G    146K    277G     0%    /var/vmail
I need to swap /var and /home so /var can get the 182G slice of /home.
Reply With Quote