Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SDS: Creating Replicas

Status
Not open for further replies.

ponetguy2

MIS
Joined
Aug 28, 2002
Messages
442
Location
US
Hello again everyone. Here I go asking for assistance.

I am trying to configure SDS. I am having problems creating replicas. Here is my partition table:

Current partition table (original):
Total disk cylinders available: 24620 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 904 - 1612 1000.15MB (709/0/0) 2048301
1 swap wu 0 - 495 699.68MB (496/0/0) 1432944
2 backup wm 0 - 24619 33.92GB (24620/0/0) 71127180
3 var wm 514 - 903 550.15MB (390/0/0) 1126710
4 unassigned wm 496 - 513 25.39MB (18/0/0) 52002
5 unassigned wm 4448 - 7282 3.91GB (2835/0/0) 8190315
6 usr wm 1613 - 4447 3.91GB (2835/0/0) 8190315
7 home wm 7283 - 24619 23.88GB (17337/0/0) 50086593

Where can I make copies of the replicas?
 
ponetguy2;

What I found in my links;

Note - Replicas cannot be stored on the root (/), swap, or /usr slices, or on slices that contain existing file systems or data. After the replicas have been stored, volumes or file systems can be placed on the same slice.

here is a link that will be useful to you


Glad to here you got your tape drive running.

CA
 
You need a small slice, like 100MB that you can use for the sdr. Preferably on slice 7 since that is the slowest part of the disk.

Only use the -f the first time when there are no replicas.

For example:
# metadb -a -f -c3 /dev/dsk/c0t0d0s7
# metadb -a -c3 /dev/dsk/c1t0d0s7

Do you have any extra disks not being used?
 
Looking at the partition table above slice 4 looks like a perfect place for the replicas.

I would follow kHz's advise using s4.

Note there should be a space between "-c 3"



Steve
 
thanx again everyone. i used s4.

i've mirrored the root partition and i will be doing thesame for the rest of the slices.

 
i'm almost done!!!

i'm trying to setup devalias to boot from the mirror. can someone please confirm it this is correct:

xpress18# ls -l /dev/dsk/c1t0d0s0 /dev/dsk/c1t1d0s0
lrwxrwxrwx 1 root root 70 Oct 7 15:21
/dev/dsk/c1t0d0s0 -> ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf3523aa,0:a

lrwxrwxrwx 1 root root 70 Oct 7 15:21
/dev/dsk/c1t1d0s0 -> ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cfc9c70e,0:a

# eeprom "nvramrc=devalias sds-root /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@0,0
devalias sds-mirror /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@1,0"
# eeprom "use-nvramrc?=true"

 
Where are you getting the 0,0 and 1,0?

also use after the user-nvramrc:
# eeprom boot-device="sds-root sds-mirror net
 
i got 0,0 and 1,0 from our docs. i'm not sure it's correct.

any advise?

 
is this correct?

# eeprom "nvramrc=devalias sds-root /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cf3523aa,0:a
devalias sds-mirror /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cfc9c70e,0:a"

# eeprom "use-nvramrc?=true"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top