Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I'm not sure if this is possible at all in the Linux.But I've a question if there is a way to add the memory from one hard drive to ...
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    17

    Adding existing memory in sdb1 to sda1

    Hi,

    I'm not sure if this is possible at all in the Linux.But I've a question if there is a way to add the memory from one hard drive to other

    Here is the output of disk free space
    # df -k
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00 940287756 3320512 888432924 1% /
    /dev/sda1 101086 21142 74725 23% /boot
    tmpfs 7730504 0 7730504 0% /dev/shm
    /dev/sdb1 2884158292 74736 273757667 1% /data


    Now,I wanna add a large amount of memory in sdb1 to sda1 to increase the available memory.Is there a way I can do this?

    Excuse me if this is a weird question
    Andrew

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    Harddiscs have a fixed size.
    You cannot "transfer memory from one to another"

    What *could* be done is assigning directories to partitions and move data from one to another.

    That says, 100MByte for /boot is a good size.
    Why would you want to change that?
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    17
    We're trying to install an application that may use large amount of disk space to store images, data etc., So,instead of running out of memory in the latter stage I'm trying to maintain a safe memory space.

    So,can we make it something like this

    Install the software on one drive and store the images,docs,videos etc on other hard drive and let software look in that harddrive while displaying the contents in the web?

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    I haven't seen the partition table and the lvm config.
    But from what you posted, the partitioning is a bit odd.
    950GByte for / is way off (and too crude, if it was the only partition)

    For a *server*, I usually use for the system:
    2-3GByte /
    2GByte /tmp/
    4GByte /usr/
    8GByte /var/
    0,5GByte /boot
    But ymmv.

    In your case, that would leave a lot of space unused on sda.
    And frankly, if possible I would recommend to use smaller disks for the system raid (it is hopefully a raid? )
    Because mixing raids for different purposes and (possibly) different raidlevels via lvm complicates the setup and leads to non-isolated problems:
    If a "system" raid has a problem, the "data" raid is affected as well and vice versa.

    In a more separated setup -small raid1 for the system and big raid for data- also possible problems are isolated.

    You have about 2,8TByte on sdb1. Your data will grow beyond that?
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Oct 2010
    Posts
    17
    I appreciate that.

    >>>You have about 2,8TByte on sdb1. Your data will grow beyond that?

    I guess we've 4 harddrive each of 1TB in which we're using 1TB for installing the software(sda1).Now I'm trying to install the software on sda1 partition which has 846 GB left.We may run out this space as we may install several softwares and data in the coming days.So,is there any way we can use sdb1 space or possibly storing data in sdb1 and accessing the data from sdb1 for the software installed in sda1.

    Thanks

Posting Permissions

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