09-29-2006
Getting 'out of range' when partitioning
Hello,
Using Solaris 10. Going to mirror disks with solstice disksuite. Documentation says I have to make both disks partitioned exactly the same before moving on.
Here's the layout of c1t0d0
Part Tag Flag Cylinders Size Blocks
0 root wm 1237 - 2473 6.00GB (1237/0/0) 12587712
1 swap wu 0 - 1236 6.00GB (1237/0/0) 12587712
2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 var wm 2474 - 3710 6.00GB (1237/0/0) 12587712
6 unassigned wm 3711 - 14075 50.29GB (10365/0/0) 105474240
7 unassigned wm 14076 - 14086 54.66MB (11/0/0) 111936
I need to make c1t1d0 look just like it to do a mirror. I get to the last partition so my c1t1d0 looks like:
Part Tag Flag Cylinders Size Blocks
0 root wm 1237 - 2473 6.00GB (1237/0/0) 12587712
1 swap wu 0 - 1236 6.00GB (1237/0/0) 12587712
2 backup wu 0 - 14086 68.35GB (14087/0/0) 143349312
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 var wm 2474 - 3710 6.00GB (1237/0/0) 12587712
6 unassigned wm 3711 - 14075 50.29GB (10365/0/0) 105474240
7 unassigned wm 0 0 (0/0/0) 0
I go to 7 on c1t1d0 to make the last change and get the following:
partition> 7
Part Tag Flag Cylinders Size Blocks
7 unassigned wm 0 0 (0/0/0) 0
Enter partition id tag[unassigned]: unassigned
Enter partition permission flags[wm]: wm
Enter new starting cyl[0]: 14076
Enter partition size[0b, 0c, 14076e, 0.00mb, 0.00gb]: 54.66mb
`54.66mb' is out of range
Enter partition size[0b, 0c, 14076e, 0.00mb, 0.00gb]:
I can't imagine the two disks being different in size. Anyone ever seen 'out of range' before while partitioning?
Thanks in advance
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm looking for a Partitioning Tool preferably with a GUI preferably free that is easy to use if anyone has any suggestions they will be greatfully recieved, Thanks. (4 Replies)
Discussion started by: OSNovice
4 Replies
2. UNIX for Dummies Questions & Answers
I would like to install Redhat 7.2 on my Windows machine. I only have one hard drive and I dont want to lose Windows. Which method is best for partitioning the HD?
I tried it once with Partition Magic and I was installing Corel Linux First Edition and Corel wiped out my entire HD (not good when... (2 Replies)
Discussion started by: primal
2 Replies
3. UNIX for Dummies Questions & Answers
Hiya folks,
Before I install Linux, I want to partition my HD, basically I want to split my 80GB HD in half so I can run Linux but still keep Windows XP. I tried doing through the windows workstation and browsing the XP help files but it either didnt work or I was doing something wrong. I dont... (7 Replies)
Discussion started by: Mr_Pinky
7 Replies
4. Red Hat
Hey, this question is generated purely out of my lack of knowledge.
Ok, obviously you can partition hard drives, I have Windows 2k, and can partition it from administrative tools, however, all of the help sections have utterly failed to give me any information other than "when you partition, it... (5 Replies)
Discussion started by: Mal_Zapatos
5 Replies
5. Shell Programming and Scripting
I want to print between the range two patterns if a particular pattern is present in between the two patterns. I am new to Unix. Any help would be greatly appreciated.
e.g.
Pattern1
Bombay
Calcutta
Delhi
Pattern2
Pattern1
Patna
Madras
Gwalior
Delhi
Pattern2
Pattern1... (2 Replies)
Discussion started by: joyan321
2 Replies
6. Ubuntu
Hi folks,
Ubuntu 10.04-1 64-bit
HD - 1T SATA3
I ran graphic installation installing Ubuntu-10.04-1 desktop from Live CD
The partition on the new HD is as follow;
/root
/home
/kvm
(kvm is for keeping the guests of KVM, the virtualizer)
Installion went through without problem abd... (0 Replies)
Discussion started by: satimis
0 Replies
7. Solaris
I was told that on the bootable drive, slice 02 is reserved for system usage. Is this true?
In our deployment each server is equipped with a hardware RAID adapter. The current plan is to create the slices as follows:
c1t0d0s0 = swap 16386
c1t0d0s1 = /var 15366
c1t0d0s2 = / free
Does this... (4 Replies)
Discussion started by: msarro
4 Replies
8. Red Hat
What is the command to partition a completely new hard drive using red hat linux (1 Reply)
Discussion started by: blend
1 Replies
9. Shell Programming and Scripting
I am working in AIX ver 5 rel 3. It shows as follows.
@:on(cluster302)/home/abcde00->
shiusr1c is LPAR (Logical PARtition). Then what is "shiissra" called?
Thanks
Krishna
Please use code tags next time for your code and data. (1 Reply)
Discussion started by: kmanivan82
1 Replies
10. Red Hat
I am getting ready to install RHEL6 server. I have to create these partitions:
/ 10GB
SWAP 3GB
/opt/kent 10GB
/opt/kent/logs
/backup 20 GB
Will Gparted do this? or whats the easiest way? or even a tutorial?I am so new to this (4 Replies)
Discussion started by: linux4noob
4 Replies
LEARN ABOUT HPUX
vxdiskadd
vxdiskadd(1M) vxdiskadd(1M)
NAME
vxdiskadd - add one or more disks for use with Veritas Volume Manager
SYNOPSIS
vxdiskadd disk_address_pattern_list
DESCRIPTION
The vxdiskadd utility configures disks for use by Veritas Volume Manager (VxVM). Disks must already have been formatted. vxdiskadd
prompts the user for a disk group name and disk name for the disks. If no disk group name specified, the disks will be left as unassigned
replacement disks for future use. A new disk group may be created that will become the disks' disk group. If a disk group is specified for
the disks, the user is prompted for whether the disks should be designated as spares for the disk group. For new disks, all space on the
disk becomes free space in the disk's disk group. vxdiskadd interactively allows initialization to be done for all the disks specified or
allows the user to ask to make the decision for each disk individually.
One or more disks may be specified with a disk_address_pattern_list. The basic form of a disk address is c#t#d#. Any leading portion of
this address may be specified to indicate that all disks that match that leading portion should be used. For example c2t0 may be used to
specify all disks on controller 2, target 0. More than one disk address or address pattern may be specified on the command line. In case
of enclosure-based names, the disk address will be of the form enclosurename_diskno. The enclosurename indicates that all disks in the
specified enclosure are used. For example, emc1_ is used to specify all disks in the enclosure emc1. The word all may be used to specify
all disks on the system. Disk address names relate directly to device node names in the /dev/dmp and /dev/rdmp directories. Here are more
examples:
all: all disks
c3 c4t2: all disks on controller 3 and controller 4, target 2
c3t4d2: a single disk (in the c#t#d# naming scheme)
xyz_0 : a single disk (in the enclosure based naming scheme)
xyz_ : all disks on the enclosure whose name is xyz
The files /etc/vx/cntrls.exclude, /etc/vx/disks.exclude and /etc/vx/enclr.exclude may be used to exclude controllers or disks from use by
vxdiskadd. Each line of cntrls.exclude specifies the address of a controller to exclude, for example, c2. Each line of disks.exclude spec-
ifies a disk to exclude, for example, c0t3d0. Each line of enclr.exclude specifies the name of an enclosure to exclude, for example, enc0.
All courses of action that do not involve clear failure conditions require prompts from the user, with defaults supplied as appropriate.
Help is made available at every prompt. Entering ? in response to a prompt displays a context-sensitive help message.
OPERATIONS
Reconnecting a drive that was temporarily inaccessible
This situation is detected automatically by noting that the specified drive has a disk ID that matches a disk media record with no
currently associated physical disk. After reconnection, any stale plexes referring the disk are reattached, and any stopped volumes
referring the disk are restarted. This reattach action is performed by calling the vxrecover utility.
Initialization of a disk with reserved regions
Initialization of the disk is performed by calling vxdisksetup.
Adding a disk to an existing disk group
This operation can be performed independently of the initialization of the disk drive. The operation adds the disk to the group so
that its storage is added to the free space pool in that disk group. The vxassist utility can subsequently allocate from that free
space.
Creation of new disk groups in which to import a new disk
If disks are added that are required to be put into a disk group that does not exist, the option of creating the disk group is
offered.
Hardware-Specific Note
Some environments provide guidelines to optimize VxVM's interaction with intelligent storage systems. If these guidelines are present, VxVM
follows the guidelines when adding disks to disk groups. If the operation fails due to these guideline(s), you are prompted to use the
force option. The force option ignores any such storage-specific guidelines.
FILES
/etc/vx/cntrls.exclude Specifies the address of controllers to exclude from vxdiskadd operations.
/etc/vx/disks.exclude Specifies the address of disks to exclude from vxdiskadd operations.
/etc/vx/enclr.exclude Specifies the address of enclosures to exclude from vxdiskadd operations.
NOTES
EFI disks cannot be added to a disk group that is compatible with the Cross-platform Data Sharing (CDS) feature, nor can they be formatted
as CDS disks.
SEE ALSO
vxassist(1M), vxdisk(1M), vxdiskadm(1M), vxdisksetup(1M), vxintro(1M), vxrecover(1M)
VxVM 5.0.31.1 24 Mar 2008 vxdiskadd(1M)