Thnx all for the infos.. I am not really using any LVM It is a SAN setup . wherein my storage is attached through a fibre channel switch. the storage is already full , that is mounted as /var of my linux filesystem , so i have to add again another disk which should also be /var.
Will linking the mount points ,just as eric said, destroy the data? tks.. ----- Original Message ----- From: Eric Noel <[EMAIL PROTECTED]> Date: Thu, 06 May 2004 15:44:18 +0800 To: Philippine Linux Users Group Mailing List <[EMAIL PROTECTED]> Subject: Re: [plug] adding new disk > On 5/6/2004 1:25 PM, Michael J. Maravillo wrote: > > > On Thu, May 06, 2004 at 11:19:25AM +0800, Kirov Reporting wrote: > > > >>Can anyone teach me here how to add a new disk and mount it to and > >>existing partition. > >> > >>heres the scenario: > >> > >>/var =50G already full > >> > >>ill just add another 50 GB disk .which i also want to be part also of > >>/var i want my /var to be 100G maintaining all my datas... > > > > > > Hi Kirov, > > > > What you want to happen isn't that straightforward. Unless, you're > > already using some volume manager like LVM and a resizeable filesystem > > that will allow you to expand the partition automagically. The > > following HOWTOs should help you get started and decide which solution > > to use: > > > > http://tldp.org/HOWTO/Hard-Disk-Upgrade/index.html > > http://tldp.org/HOWTO/Software-RAID-HOWTO.html > > http://tldp.org/HOWTO/LVM-HOWTO/index.html > > > > You can either use RAID (linear or striping) to combine the capacity of > > both disks, or use LVM which is the way to go if you plan to add > > more drives in the future. > > > > Hope this helps. > > > fdisk /dev/newdevice > partition it > mke2fs -j /dev/newdevice > modify /etc/fstab > something like /dev/newdevice /mnt/newdrive ext3 default 2 1 > ln -s /mnt/newdrive /var/additionalfolder > -- > Philippine Linux Users' Group (PLUG) Mailing List > [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) > Official Website: http://plug.linux.org.ph > Searchable Archives: http://marc.free.net.ph > . > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug > . > Are you a Linux newbie? To join the newbie list, go to > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie ----------------------------------------- "How do you power off this machine?" --Linus Torvalds, when upgrading linux.cs.helsinki.fi, and after using the machine for several months -- ______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
