Author Topic: 2 disks  (Read 2123 times)

brononi

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
2 disks
« on: March 13, 2008, 02:10:14 pm »
Hey,

I've got a machine with 2 internal Hard disks (250GB and 750GB).
I now want that some share folders (users & images) are devided over the different disks. Let's say the users on the 250 disk, and the images on the 750 disk.

Is this hard to do or ...?

thanks...

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: 2 disks
« Reply #1 on: March 13, 2008, 04:58:25 pm »
Well, you must make your partitions as usual and then go to the /etc/fstab and choose the appropiate mount points for each one

brononi

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: 2 disks
« Reply #2 on: March 19, 2008, 10:20:36 am »
Okay,

i've installed the server... yippiee...

But i had a problem with the 2 disks.
I've got only the first one, the second one isn't configured anywhere...

Can i 'enable' it somewhere?
And for example 'hang' it on the home-folder so i've got the total amount (lets say 900GB) under /home?


ps during the installation, i had the option RAID, but i recieved an error on this. So i said he could install it on disk one...

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: 2 disks
« Reply #3 on: March 19, 2008, 02:48:07 pm »
During the installation you had the option to make partitions in your disks and chose mount points (like /home) for them.

I think you have already installed so you need to do it manually. You need to:

a) partition the hard disk (use the cfdisk tool for this)
b) format the partitions (use the mkfs tool)
c) choose a mount point and edit /etc/fstab (remmember to move file form your previous disk if needed)

See this link to have a more detailed exlanation: http://www.debianhelp.co.uk/newharddisk.htm