Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2008

    Unhappy Help Needed Merging 2 HDD`s


    I have 2 HDD`s on linux server , 1 have named as /home and the other as /home1 . I wanted to merge /home1 into /home And it should appear as whole as /home . Can anybody please tell me the commands to do that .

    Thanks in advance.

  2. #2
    Join Date
    Apr 2003
    You could reformat them and use LVM to do this. You could also use RAID0

    ...neither of which I would recommend. If you are going to be having 2 hard drives combined like that you are going to set yourself up for failure. If one of the two hard drives fails you will have a lot of problems on your hands.

    If you are by chance using cPanel you can have home and home1 and the system will put accounts on both.
    John W, CISSP, C|EH
    MS Information Security and Assurance - Server Administration and Security - Managed VPS and Dedicated Servers with VIP Service

  3. #3
    Join Date
    Apr 2003
    Los Angeles, CA
    Chances are those two partitions are different in size, so you'll need to use LVM to create a volume group composed of those two physical volumes, and then make a logical volume for home and set up a file system on it. Note that to do that you must copy the data elsewhere and then copy it back onto the newly formatted logical volume. Also note that if you lose one disk, you lose all the data. There is no redundancy. This is equivalent to a RAID0 setup.

    There is no simple set of commands to do it, so unless you really understands that needs to be done, hire someone who does.
    Pings <1 ms, Unlimited Transfer, Lowest Price: http://localhost/

  4. #4
    Join Date
    Dec 2005
    As others have said, you would be better off putting both disks into a LVM volume group and then create a single /home partition from that.

    Using LVM would also allow you to add additional drives to the volume group at a later date, to add additional storage.

Similar Threads

  1. Merging two web pages
    By Ralisten in forum Programming Discussion
    Replies: 4
    Last Post: 01-18-2005, 02:17 AM
  2. merging two set of IPs in one LAN
    By zumaidi in forum Hosting Security and Technology
    Replies: 1
    Last Post: 04-24-2004, 02:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts