mirroring existing data
Hi all
i would like to know if could be possible (adding a new disk) to mirror my first disk with existing data ( / and /pippo filesystem ) with Solstice Disk Suite.
If i concat my partition ( for example metainit f d1 1 1 c1t0d0s0 ) will I lost existing data?
thank you
Manuela
[309 byte] By [
maniua] at [2007-11-27 7:47:45]

# 1
Hi Manuela,
see http://www.ip-solutions.net/sds/index.html or http://spiralbound.net/2004/06/11/solaris-disk-partition-layout-mirroring-scrip ts/. Please note that you have to have separate slices (rather small, 100MB is fine) for storing metadatabases. Running the command you said will not result in data loss.
HTH,
Peter
# 2
Really thank you Peter.
My existing disk is formatted as follows:
PartTagFlagCylinders SizeBlocks
0rootwm0 - 20564.00GB(2057/0/0)8392560
1swapwu2057 - 25711.00GB(515/0/0)2101200
2backupwm0 - 1915537.27GB(19156/0/0) 78156480
3 unassignedwm2572 - 41143.00GB(1543/0/0)6295440
4 unassignedwm4115 - 51432.00GB(1029/0/0)4198320
5 unassignedwm5144 - 61722.00GB(1029/0/0)4198320
6 unassignedwm6173 - 72012.00GB(1029/0/0)4198320
7 foowm7202 - 1915523.26GB(11954/0/0) 48772320
I think i can use one of "unassigned" slice to store sds db on it.
best regards
Manu
maniua at 2007-7-12 19:28:51 >

# 3
You can't add a new disk to your / filesystem, since the booting system won't be able to read from a stripe/concat.
If you create a concat of your /pippo filesystem, you should be able to attach more disk to it with the metattach/growfs commands.
Then again, when resizing/changing partitions, always ensure that you have a working backup before you start.
.7/M.
# 4
@ mAbrante:
Please keep in mind that she's trying to mirror a disk, not concact it. She picked a wrong word in her opening post :)
@ Manuela:
Dont' be too hasty :) We can't tell from your partitioning table whether the "unassigned" partitions are being used or not. That's just a name given to the slice when the disk was originally partitioned. You'd need to compare /etc/vfstab and your partition table to find a slice that is not in use.
And yes: mirroring your root disk with a newly added disk is no problem at all. All this requires is that your original disk has one free slice for the LVM data. But this was already mentioned :)
# 5
You are right Cailin_Coilleach, i guess he is mixing issues.
What are your intensions? Concat or Mirror. If mirror, how are your disk slices used. Do you have left space for Metadbs not less than 30mb atleast.
It is very possible to mirror a root filesystem without loss of data, infact it is good.
Again i would like to refear you to http://docs.sun.com for more info on raid utilities so that you know the difference btwn concat, striping, mirroring and how they are done. Download a Solaris Volume manager Doc, it has all the info you need. Gud luck.