![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| resize filesystems | mhbd | UNIX for Advanced & Expert Users | 1 | 01-25-2008 05:16 AM |
| resize fs | lo-lp-kl | AIX | 1 | 09-20-2007 12:35 PM |
| Filesystem resize (AIX 5.3) | balaji_prk | AIX | 5 | 10-28-2005 06:23 PM |
| How to resize partitions? | dtn | UNIX for Dummies Questions & Answers | 2 | 02-14-2005 11:22 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
resize /var/www (debian)
I have several live websites running in the /var/www/XXXX directory. Initially when I did the Debian install I limited the web directory to 6GB. I am now outgrowing that limit. Question is:
Is there a simple way to add space to the web directory??? I'd hate to have to redo the whole server, or install another drive. Any ideas? PS. Please only comment if you have good working knowledge in this area, I don't want to try something and have to start from scratch. |
|
||||
|
Add more HDD
Hi,
You can install one more HDD in system and create Partition/FileSystem on that. fdisk /dev/hdb press m for help, n for create partition, t for changing FileSystem Then after you can mount that HDD partition on some temperory location. mount -t ext3 /dev/hdb1 /mnt/tmp copy all of your existing /var/www content to /mnt/tmp. Example cp -dpRf /var/www/* /mnt/tmp After "successful" copy make sure to "sync" then, you can remove the contents of /var/www To test you can unmount /mnt/tmp and mount /dev/hdb1 partition to /var/www location. Finally create this mount point entry in /etc/fstab file |
|
||||
|
Or you can link to another partition where is more space, for example:
ln -s /partition/with/more/space /var/www/directory Note that the option "FollowSymLinks" is active in the directory section of apache Webserver. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|