Sponsored Content
Operating Systems Solaris Cylinder Group Size reduces in UFS. Post 48824 by sundeep saini on Thursday 18th of March 2004 02:27:55 AM
Old 03-18-2004
Cylinder Group Size reduces in UFS.

Hi all,
I am working on Solaris 8 . Its default file system is UFS. My problem is regarding to the file system. I create two partition 1) / 1.2 Gb and 2) /home 4.5 GB
In root partition there were 76 Cylinder groups ,when I was traversing the Cylinder Groups I found that the length of one cylinder Group was 32320 sector long. Up to 32 cylinder groups that length was absolutely fine ,when I jump to the 33rd Cyl. Grp. That difference reduces to 31296 sectors it means it reduces by 1024 sectors. And it happens at every multiple of 32 cylinder groups. Is there any information regarding this in SuperBlock or in Cylinder Summary Block Structure.

In 2nd case of /home partition there were 286 cyl. Grp. , the length of 1 Cylinder Group was 98848 , In this case also when I jump to 32nd to 33rd Cylinder Group the length reduces to 2048 sectors,It means length becomes 96800 sectors. It happens every multiple of 32 means 64th to 65th , 96th to 97th like this.
This difference usually came when I create a big partitions but when I create 1 gb partition then this difference became 1024 sectors.
Please help me to solve this problem how can I got this value or is there any formula.

With Thanks and Regards

Sundeep Saini
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to check size of Volume Group

Did anyone knows how to check size/usage of a Volume Group in AIX 4.3.3? (4 Replies)
Discussion started by: s_aamir
4 Replies

2. UNIX for Dummies Questions & Answers

Size limitations with ufs/disk suite on Solaris 8?

I tried to build a 1.3 TB volume with disk suite, and recieved an error (don't remember the exact verbage, it was very late). It only built a 1 TB volume. newfs completed without error. I rebuilt the volume to be just under 1TB, and all was fine. Is there a limitation with disk suite, or ufs, that... (3 Replies)
Discussion started by: 98_1LE
3 Replies

3. UNIX for Dummies Questions & Answers

increasing ufs file system size in solaris

How do i increase the filesystem size on a root partition? There is a slice with root on it, its like 2 gigs and nothing else is broken out except home. I want to increase root filesystem (and slice) and break out /usr and /var. This is solaris 9, only has solaris volume manager on it. ... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

4. AIX

Volume Group Size

Hello, Can somebody please help. I'm able to view volume groups by using the command "lsvg", how can I view what space is available to that particular volume group Many Thanks (3 Replies)
Discussion started by: ugxd14
3 Replies

5. AIX

max size of a group in /etc/group

I have several AIX servers running 5.2. What is the default max size for a group in /etc/group? How do I change the default max size for a group to be unlimited (if possible)? Thanks (4 Replies)
Discussion started by: antalexi
4 Replies

6. AIX

Volume Group - PP Size

Hi Friends- We know that the Max PP size in a Normal VG and Big VG is 1 GB and in case of scalable VG it is 128 G. My Questions: 1) What is the min PP size allowed for Normal VG, Big VG and Scalable VG? 2) Why is the max PP Size in Normal and Big VG is 1 G and 128 G in... (1 Reply)
Discussion started by: deshaipet
1 Replies

7. UNIX Desktop Questions & Answers

block group size of a filesystem

How can I determine the block group size of my filesystem, in case I would like to determine where my backup superblocks are? Or how can I determine the location of my backup superblock? If usually, for the block group size of 1k, the alternate superblock will be at block 8193. Thanks, (2 Replies)
Discussion started by: Pouchie1
2 Replies

8. Solaris

free size of disk group

Hello Good morning all, Am not understanding the size of subdisk & group(length &offset).how we need to calculate this? Can anyone suggest me ? Thanks, Gowtham ---------- Post updated at 12:48 PM ---------- Previous update was at 08:30 AM ---------- I got the answer ... if want the... (0 Replies)
Discussion started by: gowthamakanthan
0 Replies

9. HP-UX

Increase Size of a Volume Group

Hi I have hp-ux 10.20 I have have my operating system VG of 7 GB in a 36Gb disk. So I have like 29GB of unused disk space. There is any way to increase my VG size, or to add another VG in the same disk so I can use all the disk space? Another question, what is the maximun size that a VG can ... (10 Replies)
Discussion started by: pmoren
10 Replies

10. Solaris

Possible to increase swap size for existing UFS-based drive slice?

I like to increase swap size for my current server running solaris 10. Seems like the system is not using it's full 16G of physical memory. #swap -l swapfile dev swaplo blocks free /dev/dsk/c0t0d0s1 32,1 16 1058288 1058288 # swap -s total: 4125120k bytes... (17 Replies)
Discussion started by: JT-KGY
17 Replies
voldisksetup(8) 					      System Manager's Manual						   voldisksetup(8)

NAME
voldisksetup - Sets up a disk for use with the Logical Storage Manager (LSM) SYNOPSIS
/usr/sbin/voldisksetup [-i] { diskname... | partition... } [attribute...] OPTIONS
The voldisksetup command takes the following option: Normally, voldisksetup simply creates partitions for use with the Logical Storage Man- ager. If the -i (initialize) option is specified, a disk header is added and an empty configuration is written on the disk. This operation destroys any previous LSM database contents on the disk. DESCRIPTION
The voldisksetup command is normally called by the voldiskadd command as part of initial disk configuration and is not usually called directly. The voldisksetup utility configures one or more disks for use by the Logical Storage Manager. A valid disk label must be installed on the disk before calling voldisksetup. The diskname and partition parameters specify the physical addresses of one or more disks and/or partitions being added to LSM. The format is dskn for an entire disk and dsknp for a specific partition. The n is the device unit number and p is a partition identifier in the range a through h). NOTES
The following options to voldisksetup are for Compaq internal use only: Overrides partition overlap checks. Suppresses overlap check mes- sages. ATTRIBUTES
The following attributes can be specified to affect the layout strategy used by voldisksetup: Specifies the length of the public area to create on the disk. This defaults to the size of the disk minus the private area on the disk. Specifies the length of the private area to create on the disk. The default is 4096 sectors. Disables the setup of kernel logs and configuration databases on the disk. The size of the private area is not changed, but it will not contain the normal private data. This attribute is ignored unless the -i option was sup- plied on the command line. Enables the setup of kernel logs and configuration databases on the disk (default). This attribute is ignored unless the -i option was supplied on the command line. Specifies the number of configuration copies and log copies to be initialized on the disk. This defaults to 1. Specifies the length in sectors of each configuration copy. The default values are calculated based on the value of nconfig. Specifies the length in sectors of each log copy. The default values are calculated based on the value of nconfig. Specifies a user-defined comment. ERRORS
You may receive the following messages when using the voldisksetup command: special-device or an overlapping partition is open This message indicates that you tried to initialize an LSM disk on a partition or a disk that is actively in use. The partition could be a mounted UFS or AdvFS file system, initialized as an LSM disk or used as a swap device. special-device is marked in use for fstype in the disklabel. If you continue with the operation you can possibly destroy existing data. CONTINUE? [y/n] This message indicates that you tried to initialize an LSM disk on a partition that is not currently in active use but is marked for use in the disk label's partition map. For example, the partition may be part of a UFS filesystem (4.2BSD) or an AdvFS domain. If you know that the partition you specified to voldisksetup does not contain any data, you can choose to override the warning. In this case, the fstype in the disk label will be modified to an LSM fstype such as LSMsimp, LSMpubl or LSMpriv. The exact fstype depends on whether a disk or a partition is given as an argument to voldisksetup. Note that you can use the command disklabel -s to set the fstype in the disk label to unused for partitions that do not contain any valid data. See disklabel(8) for more information. Partition(s) which overlap special-device are marked in use. If you continue with the operation you can possibly destroy existing data. CONTINUE? [y/n] This message indicates that the partition you specified is not marked for use, but other, overlapping partitions on the disk are marked for use. If you override this warning, the fstype in the disk's label will be modified. The partition you specified to voldisksetup will be marked as in use by LSM and all overlapping partitions will be marked UNUSED. The following examples illustrate these messages: Initializing an LSM simple disk on a partition that is open and actively in use: # /usr/sbin/voldisksetup -i dsk11c dsk11c or an overlapping partition is open. Initializing an LSM sliced disk on a disk which has partition g marked for use by UFS (4.2BSD): # /usr/sbin/voldisksetup -i dsk11 /dev/rdsk11g is marked in use for 4.2BSD in the disklabel. If you continue with the operation you can possibly destroy existing data. CONTINUE? [y/n] Partition g of disk dsk11 is marked for use by UFS (4.2BSD). If UFS is not actively using this partition and the partition does not contain any data, you may want to override this warning, by answering y. In this case, partition g will be marked as LSMpubl and partition h will be marked as LSMpriv in the disk label. Initializing an LSM simple disk on a partition whose overlapping parti- tions are marked for use: # /usr/sbin/voldisksetup -i dsk11c Partition(s) which overlap /dev/rdsk11c are marked in use. If you continue with the operation you can possibly destroy existing data. CONTINUE? [y/n] Partition c, which is being initialized into LSM, is not currently in use, but other partition(s) which overlap with partition c are marked in use in the disk label. If you answer y, partition c on disk dsk11 will be marked LSMsimp in the disk label and all parti- tions that overlap partition c will be marked UNUSED. Initializing an LSM disk on a disk that has no disk label: # /usr/sbin/voldisksetup -i dsk11 The disklabel for dsk11 does not exist or is corrupted. See disklabel(8) for information on installing a disk label on a disk. SEE ALSO
disklabel(8), volintro(8), voldisk(8), voldiskadd(8) voldisksetup(8)
All times are GMT -4. The time now is 01:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy