01-04-2013
It's acceptable to have two different metadevices on one disk (also very very common and entirely sensible).
It's acceptable but stupid to have two different submirrors of a single mirror metadevice on one disk.
It's acceptable but somewhat inefficient to have two different slices on the same disk in a single concat or stripe metadevice.
It's much the same story with DB replicas too.
As DukeNuke2 hints, you probably have an overlapping partition on that disk. The command (s)he mentions will show this up nicely (although be sure to pass it the name of the disk in question when you run it).
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I'm sure this is an easy one to answer - how do I turn a directory into a disk image of the sort that is mountable via mount -o loop?
I've been playing with comressed ram disk images on floppies
(dd if=/dev/fd0 of=disk1.img.gz; gzip -d disk1.img), and it seems that when i mount them and alter... (1 Reply)
Discussion started by: Karma
1 Replies
2. HP-UX
I am trying to copy a HP-UX disk. Both the OS and H/W are quite old
HP-UX hpeval3 B.09.10 A 9000/382 080009789a46
I have a 1.5Gb disk and a new 2Gb disk. I have been using the following method to create the copy, which must be a bootable disk.
#mediainit /dev/rdsk/cEd1s0
(2Gb disk) cEd0s0... (9 Replies)
Discussion started by: malcqv
9 Replies
3. Linux
Hi all,
thanks for so many helps in many problems!
Can anyone guide, how to create a bootable cd/dvd from downloaded iso images of CentOS 5? I have collected all the iso in a dvd but it is not booting the system. Any response will be appreciable... (2 Replies)
Discussion started by: naw_deepak
2 Replies
4. Shell Programming and Scripting
I am submitting a concurrent program (of HOST tyme) from Oracle apps screen,
The MAIN shell program submits another program, (child) which is also a Shell program. The child writes data to log file. Now the main program, read the log and do some calculations and sends the data to user through... (1 Reply)
Discussion started by: Pradeep Garine
1 Replies
5. Solaris
Hi,
I am new to solaris administration. I have scan the new EMC SAN disk. I am able to see the disk when i run the powermt display dev=all command o/p. I want to format the disk and add file system to that disk.
Can have formated the disk. and this the o/p of my format
bash-3.00# prtvtoc... (3 Replies)
Discussion started by: jpkumar10
3 Replies
6. Ubuntu
I am running Ubuntu Server, I recently added a new hard drive to the machine
When I run fdisk -l I see both drives.
The recently added drive is present but it's listed as extended.
when I try to mount the drive it says you must specify the file system type.
I can't mount this drive, I was... (2 Replies)
Discussion started by: NelsonC
2 Replies
7. Solaris
Update:
The / file system (/dev/rdsk/c1t0d0s0) is being checked
fsck unable to stat
WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0).
Root password for system maintenance (control-d to bypass):
I am unable to hit control-d to by pass.
I... (50 Replies)
Discussion started by: br1an
50 Replies
8. AIX
Hello,
I am unable to remove the disk, whenever i remove the disk using
rmdev -dl hdisk2
or
rmdev -Rdl hdisk2
the disk appears back when i run
cfgmgr
but unable to create any volume group on it
# mkvg -y foovg hdisk2
0516-008 /usr/sbin/mkvg: LVM system call returned an unknown
... (20 Replies)
Discussion started by: filosophizer
20 Replies
9. AIX
Iam new to AIX
I am unable varyonvg on the vios,some of the disk are reported as harware failure.
I am going to replace the disk,Please tell me how to remove the disk without any corruption in the VG
lspv -l hdiskx also didn't work (0 Replies)
Discussion started by: roayaix
0 Replies
LEARN ABOUT SUNOS
metaparam
metaparam(1M) System Administration Commands metaparam(1M)
NAME
metaparam - modify parameters of metadevices
SYNOPSIS
/usr/sbin/metaparam -h
/usr/sbin/metaparam [-s setname] [ concat/stripe or RAID5 options] concat/stripe RAID
/usr/sbin/metaparam [-s setname] [ mirror options] mirror
DESCRIPTION
The metaparam command is used to display or modify current parameters of metadevices.
If just the metadevice is specified as an argument to the metaparam command, the current settings are displayed.
The metaparam command enables most metadevice (volume) parameters to be changed. Only the interlace value cannot be changed by metaparam,
because it is established when the metadevice is created and cannot be changed thereafter.
OPTIONS
Root privileges are required for all of the options.
The following options are supported:
-h Displays usage message.
-s setname Specify the name of the diskset on which metaparam works. Using the -s option causes the command to perform its administra-
tive function within the specified diskset. Without this option, the command performs its function on local metadevices.
CONCAT
/STRIPE OR RAID5 OPTIONS
-h hot_spare_pool | none Specifies the hot spare pool to be used by a metadevice. If none is specified, the metadevice is disassoci-
ated with the hot spare pool assigned to it. If the metadevice is currently using a hot spare, then meta-
param cannot replace the hot spare pool.
concat/stripe | RAID Specifies the metadevice name of the concatenation, stripe, or concatenation of stripes, or of the RAID5
metadevice.
MIRROR OPTIONS
-r roundrobin | geometric | first Modifies the read option for a mirror. The -r option must be followed by either roundrobin, geomet-
ric, or first. roundrobin, which is the default action under the metainit command, specifies read-
ing the disks in a round-robin (load balancing) method. geometric allows for faster performance on
sequential reads. first specifies reading only from the first submirror.
-w parallel | serial Modifies the write option for a mirror. The -w option must be followed by either parallel or
serial. parallel, the default action under the metainit command, specifies that all writes are par-
allel. serial specifies that all writes are serial.
-p pass_number A number from 0-to-9 that specifies the order in which a mirror is resynced during reboot. The
default is 1. Smaller pass numbers are resynced first. Equal pass numbers are run concurrently. If
0 is used, the mirror resync is skipped. 0 should only be used for mirrors mounted as read-only, or
as swap.
mirror Specifies the metadevice name of the mirror.
EXAMPLES
Example 1: Associating Hot Spare Pool with RAID5 Metadevice
This example associates a hot spare pool, hsp005, with a RAID5 metadevice, d80.
# metaparam -h hsp005 d80
Example 2: Changing Read Option to Geometric
This example changes the read option on a mirror d50 from the default of roundrobin to geometric.
# metaparam -r geometric d50
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmdu |
+-----------------------------+-----------------------------+
SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metarecover(1M),
metarename(1M), metareplace(1M), metaroot(1M), metaset(1M), metassist(1M), metastat(1M), metasync(1M), metattach(1M), md.tab(4), md.cf(4),
mddb.cf(4), md.tab(4), attributes(5), md(7D)
Solaris Volume Manager Administration Guide
SunOS 5.10 2 Jun 1004 metaparam(1M)