* bulent acikgoz > Hello friends, > I have like this disk structure; > > [EMAIL PROTECTED] root]# df -k > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/hda2 32257404 4643176 25975600 16% / > /dev/hda1 102454 47179 49985 49% /boot > /dev/hdc1 8127400 32812 7681740 1% /oracle > none 256936 0 256936 0% /dev/shm > /dev/hda3 4539104 4155308 153216 97% /usr > /dev/cdrom 463974 463974 0 100% /mnt/cdrom > [EMAIL PROTECTED] root]# > > I want to add space for /usr. How can I this dinamiclly and also not > disturb?
Several methods: 1. Easy one: make a directory on an available file system, copy parts of /usr to it and add a symbolic link:. E.g. mkdir /oracle/usr/lib cp -a /usr/lib /oracl/usr mv /usr/lib /usr/lib.orig ln -s /oracle/usr/lib /usr/lib # Do some testing rm -Rf /usr/lib.orig 2. Find a place with a lot of free space which is greater than you currently have for /usr. Copy whole of /usr to it. 3. Use logical partitioning. This I like a lot. When I got my last Disk it was way too small, but I made six file systems: / /var /usr /usr/local /home /opt When this began to feel crowded, I bought a new disk, installed it, create one big partition, made a physical volume, and gave distributed the space to all my file systems. Thus, I can take away space, and grant it to another file system as I like. Easy. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list