Koozali.org: home of the SME Server

help to AddExtraHardDisk

Offline mgb

  • ****
  • 558
  • +0/-0
help to AddExtraHardDisk
« on: August 09, 2012, 12:45:59 PM »
Hello I need help with care most of the advertisements.
 Seems http://wiki.contribs.org/AddExtraHardDisk  to create a raid .
 There is a server disk SME 7.
 I plugged in another SATA disk
 Existing 500G
 The new 1000G
  fdisk-l
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       60801   488279610   8e  Linux LVM
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

I know they are not the same size
 Prefer to move into a raid
 Simply afraid to do alone the ?
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,836
  • +2/-0

Offline mgb

  • ****
  • 558
  • +0/-0
Re: help to AddExtraHardDisk
« Reply #2 on: August 09, 2012, 01:56:08 PM »
Thanks for the response
 I still find these commands
look
if is good command ?
fdisk /dev/sdb
 Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       60801   488279610   8e  Linux LVM

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      121601   976760001   fd  Linux raid autodetect


It came the next command.?
Additional steps to create a raid array from multiple disks 


mdadm --create --verbose /dev/md? --level=1 --raid-devices=2 /dev/? /dev/?
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: help to AddExtraHardDisk
« Reply #3 on: August 09, 2012, 02:04:36 PM »
mgb.. just add the new disk to the arrai via admin console..
the, if you have a second 1000 GB disk, repeat the steps

finally, expand your filesystem..
btw, the howto in the wiki is clear enough, please re-read it, thank you

Offline mgb

  • ****
  • 558
  • +0/-0
Re: help to AddExtraHardDisk
« Reply #4 on: August 09, 2012, 02:25:44 PM »
"mgb.. just add the new disk to the arrai via admin console"
="there are no raid devices configured"

The 2 problem was with the basic installation noraid 
disk without md Red So instead I have
   to change this problem sda  to md
disk 1 500
disk new 1000


" It is not clear enough to the new disk or old confusion has come commands
 Who is meant to change or renew existing disk
 Explanation
 Perhaps obvious if you understand the structure of the disk
 So he does not need explanation" 
« Last Edit: August 09, 2012, 03:20:52 PM by mgb »
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: help to AddExtraHardDisk
« Reply #5 on: August 09, 2012, 03:52:21 PM »
if you are not using raid in your setup, the best way is to backup, reinstall and restore..

any other way is too dangerous

Offline mgb

  • ****
  • 558
  • +0/-0
Re: help to AddExtraHardDisk
« Reply #6 on: August 09, 2012, 06:27:23 PM »
Thank you
 too dangerous  ok
Thanks all for helping
Skype yosii2009