Koozali.org: home of the SME Server

Manage hard disks

Offline cipandales

  • **
  • 32
  • +0/-0
Manage hard disks
« on: August 20, 2008, 04:59:36 PM »
Hi all !

I have 2 hard disks. Same sizes. I think Sme Server makes raid or something, but I need to access the secondary hard disk as well.
Where/which is the folder where the disk is mounted ?
How can i use it to make ibays on it ?


With fdisk -l | more i have this:

Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   fd  Linux raid autodetect
/dev/hda2              14       14593   117113850   fd  Linux raid autodetect

Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1          13      104391   fd  Linux raid autodetect
/dev/hdb2              14       14593   117113850   fd  Linux raid autodetect

Disk /dev/md1: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md2: 119.9 GB, 119924457472 bytes
2 heads, 4 sectors/track, 29278432 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/dm-0: 118.2 GB, 118279372800 bytes
2 heads, 4 sectors/track, 28876800 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/dm-1: 1577 MB, 1577058304 bytes
2 heads, 4 sectors/track, 385024 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Can you help ?

Thanks a lot

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Manage hard disks
« Reply #1 on: August 20, 2008, 07:41:32 PM »
I have 2 hard disks. Same sizes. I think Sme Server makes raid or something, but I need to access the secondary hard disk as well.
Where/which is the folder where the disk is mounted ?

http://en.wikipedia.org/wiki/RAID1#RAID_1

Have you read the Manual?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Manage hard disks
« Reply #2 on: August 21, 2008, 04:18:30 AM »
cipandales

Install sme with one disk only.
Then when all done, connect the second disk and use the Howto that tells you how to add a second disk. Search the Howto page for this (linked at top of forums)

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline elmarconi

  • ****
  • 139
  • +0/-0
Re: Manage hard disks
« Reply #3 on: August 21, 2008, 10:07:38 AM »
I have 2 hard disks. Same sizes. I think Sme Server makes raid or something, but I need to access the secondary hard disk as well.  Where/which is the folder where the disk is mounted ?

They are already in use. That is the trick with RAID.

You might wanna test next scenario's:

1: Power down.
2: Disconnect primairy master. (hda)
3: Connect primairy slave as primairy master. 
4: Powerup!

Magic!

That is what RAID does! As CharlieBrady says: Read the Manual(s)...
Note; step 3 might not even be necessairy depending on hardware ...
...