unmirroring swap partition
- From: "alielmali78@xxxxxxxxx" <alielmali78@xxxxxxxxx>
- Date: 18 Oct 2006 06:42:52 -0700
Hi dear friends;
i want to make unmirroring swap partition. But i could not achieve it
eventhough i could make unmointing of /.
i need your help;
1.
format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,4000/scsi@3/sd@0,0
1. c0t1d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/pci@1f,4000/scsi@3/sd@1,0
2.
metastat
d2: Mirror
Submirror 0: d20
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 2100735 blocks (1.0 GB)
d20: Submirror of d2
State: Okay
Size: 2100735 blocks (1.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s1 0 No Okay Yes
3.
i want to remove d2 mirror with its submirror
i chahged /etc/vfstab
root@ultra # more /etc/vfstab
#device device mount FS fsck mount
mount
#to mount to fsck point type pass at boot
options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t0d0s1 - - swap - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1
no -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
#NetBackup Binaries
#
/dev/dsk/c0t1d0s0 /dev/rdsk/c0t1d0s0 /NetBackup ufs
1 yes -
#
and
i rebooted machine.
then
i wrote
#metaclear -r d2
metaclear: ultra: d2: metadevice is open
what can i do in order to remove d2 and d21?
Best Regards.
.
- Follow-Ups:
- Re: unmirroring swap partition
- From: Franco
- Re: unmirroring swap partition
- Prev by Date: EMC PowerPath Devices and 'sar' Command
- Next by Date: Re: partition naming - newbie
- Previous by thread: EMC PowerPath Devices and 'sar' Command
- Next by thread: Re: unmirroring swap partition
- Index(es):
Relevant Pages
|