Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to use secondary Hard Drive for data

In the server that I'm using at home to run the Astaro it's an old IBM 1U with 2 18.2 GB HD's in it.  I wanted to mirror the drives but the raid software for the server won't allow it.  During the install I was hoping to be able to set it up so that I could choose where to put what partitions but either I missed it completely or it wasn't a choice.  The problem I have now is that my data partition is filling up every few days and I have to go in and do a manual dump of the drive while this isn't a huge pain it still kinda sucks and it would just be nice to put the secondary drive to work or if need be I'm sure I can find a larger drive lying around and stick it in there and just reinstall the entire firewall however I would really rather not.  If anyone has any tips on how I can put the 2nd drive to use that would be great.  Thanks.


This thread was automatically locked due to age.
  • Maybe you could find a cheap raid adapter on eBay.  I bet there are used ones which are in the HCL.

    You shouldn't have that much data clogging your drive.  What is filling it up?
  • I have a debian server at home that serves as a update mirror for my ubuntu machines so each night it downloads on average about 1GB worth of updates thats the only thing I can think of that would cause the data partition to fill up.  Astaro partitioned my 18.2GB drive and made the data partition only 3.6GB.
  • Hi, I'm not sure which is the 'data partition'... can you post the output of 
    df -h

    Barry
  • Sure can not a problem.  Besides this request gave me a reason to finally turn on the shell access [[:)]]  Yes I am a unix/linux user I just haven't got around to or had the need to ssh into the box yet [[:)]]

    Filesystem            Size  Used Avail Use% Mounted on
    rootfs                5.3G  1.3G  3.8G  25% /
    udev                  506M   68K  506M   1% /dev
    /dev/disk/by-label/root
                          5.3G  1.3G  3.8G  25% /
    /dev/disk/by-label/boot
                          342M   15M  311M   5% /boot
    /dev/disk/by-label/storage
                          3.6G  687M  2.8G  20% /var/storage
    /dev/disk/by-label/log
                          4.7G  187M  4.3G   5% /var/log
    /dev/disk/by-label/tmp
                          649M   46M  570M   8% /tmp
    tmpfs                 506M   28K  506M   1% /var/storage/chroot-smtp/tmp/ram

    Yes I am aware that I am currently using a drive that is below the recommend size.  Thanks for the help on this.
  • Looks fine right now... do you know what is filling up?

    What do you do when you say "a manual dump of the drive"?

    Barry
  • Well, software RAID's are not supported from the Astaro Security Gateway software. You need a supported hardware raid controller. If you want to use both HDD's as one logical unit to get the 36,4 GB disk space you must configure a RAID 0.
  • If you had an HP RAID controller (don't know i they work in IBMs), you could do a hardware span of multiple disks that would be seen by Astaro as a single drive.  That's not something I ever would recommend though.
  • If you had an HP RAID controller (don't know i they work in IBMs), you could do a hardware span of multiple disks that would be seen by Astaro as a single drive.  That's not something I ever would recommend though.


    Yes, a RAID 0 is nothing to recommend, because if one of the drives is broken all data are lost.