Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support AIX : Create LV with poor man stripe Post 302417557 by zxmaus on Friday 30th of April 2010 03:17:12 AM
Old 04-30-2010
Hi,

why would you even possibly want a non-relocatable VG ? I don't think you can change it ...

Code:
mklv -y'<name_of_lv>' -t'jfs2' -x'<max_pp_in_lv>' rootvg <size_of_lv_in_pp>

where <max_pp_in_lv> is the size you want the lv to maximum grow to and <size_of_lv_in_pp> is the size you want it to be now. You can later extend a filesystem residing in this lv just with chfs up to the size of max without first growing the lv. It would be automatically spread (poor man striped) across all disks CURRENTLY in your volumegroup. If you later add more disks to your vg, than this lv would remain spread across the disks you have now as long as you don't run a reorg command - any newly created lv's would be spread across the new amount of disks.

If you want afterwards to create a filesystem within this created lv than you would do it i.e. like this (I assume an inline log, that you want it auto mounted after a system boot and rbrw mounted in my sample):

Code:
crfs -v jfs2 -d'<name_of_lv>' -m'<mountpoint>' -p'rw' -A yes -a options='rbrw' -a logname='INLINE'

This filesystem would have the size <size_of_lv_in_pp> from the mklv command.

Hope this helps
kind regards
zxmaus
This User Gave Thanks to zxmaus For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to install Man Pages on aix

How can I install the man pages on ibm unix aix 4.3? (1 Reply)
Discussion started by: GKL
1 Replies

2. UNIX for Dummies Questions & Answers

how do you create a man page?

i've never done this before. i created a script that I placed in /usr/bin, but want to create a man page for it. i'm clueless thanks (3 Replies)
Discussion started by: theDirtiest
3 Replies

3. UNIX for Dummies Questions & Answers

MSR magnetic stripe card reader

Hi all I am working on MSR110 ...Can anyone plz tell me how to use the configuration commands with magnetic reader???. Please help me out as i have to develop API in C on linux platform.MSR110 is not responding to the configuration commands. Please help... Regards Mahima (0 Replies)
Discussion started by: mahima_er
0 Replies

4. AIX

man pages in AIX

Hi all. A friend of mine just recently gave me an old RISC 6000 machine to learn on for my AIX certification. I installed AIX 4.3.3 and everything seems to work fine, except there are no man pages. Is there a way to generate man pages on this machine? Thanks alot in advance. (5 Replies)
Discussion started by: dlynch912
5 Replies

5. UNIX for Dummies Questions & Answers

please suggest computer languages to create man-machine interface for Linux applicati

I am new to program development on Linux. I wonder what computer languages are easy to grasp to create man - machine interactive interface software, which can accept inputs (parameters) from usrers, and present (display) the calculation results to users. Before, I have heared about Perl,... (10 Replies)
Discussion started by: cy163
10 Replies

6. UNIX for Advanced & Expert Users

Resizing veritas mirror-stripe volume

Hi, Is there are any special preocedure for extending veritas mirror-stripe volume? In my case , volume lay out looks as below v test - ENABLED ACTIVE 419430400 SELECT - fsgen pl test-01 test ENABLED ACTIVE 419454720 STRIPE 3/128 RW sd... (0 Replies)
Discussion started by: 2k7.vipin
0 Replies

7. Linux

Raid 0 stripe size

I have a PERC 5/i card. Im using with it 3 15k rpm HDD's (model: SEAGATE Savvio 15K ST936751SS). Im going to install debian on this array.. and im looking for performance... So what would be the stripe size that i should set this raid 0 into to give me the best performance? Thanks (22 Replies)
Discussion started by: supermiguel
22 Replies

8. AIX

AIX striped LV - lslv stripe width has wrong value

Hello all. I have a volume group with 8 PV's, and a logical volume striped across these 8 volumes. However, an lslv is showing: STRIPE WIDTH: 9 STRIPE SIZE: 64k There's really only eight disks, so how can the stripe width be 9? ODM also showed this: # odmget CuAt |... (4 Replies)
Discussion started by: Scott
4 Replies

9. AIX

Case insensitive search in AIX man ?

Hello, Linux man command search is case insensitive by default, but not AIX man. How do I serch case insensitive while using AIX manual pages ? thanks Vilius (7 Replies)
Discussion started by: vilius
7 Replies

10. Solaris

solaris volume manager- stripe?

Hello Admins.. I am going through solaris volume manager guide for RAID-0 concatenation and stripes, I do not understand the concept of stripe from following example of concatenation. There is an eample for concatenation: # metainit d25 1 1 c0t1d0s2 d25: Concat/Stripe is setup the... (5 Replies)
Discussion started by: snchaudhari2
5 Replies
GSTRIPE(8)						    BSD System Manager's Manual 						GSTRIPE(8)

NAME
gstripe -- control utility for striped devices SYNOPSIS
gstripe create [-v] [-s stripesize] name prov prov ... gstripe destroy [-fv] name ... gstripe label [-hv] [-s stripesize] name prov prov ... gstripe stop [-fv] name ... gstripe clear [-v] prov ... gstripe dump prov ... gstripe list gstripe status gstripe load gstripe unload DESCRIPTION
The gstripe utility is used for setting up a stripe on two or more disks. The striped device can be configured using two different methods: ``manual'' or ``automatic''. When using the ``manual'' method, no metadata are stored on the devices, so the striped device has to be con- figured by hand every time it is needed. The ``automatic'' method uses on-disk metadata to detect devices. Once devices are labeled, they will be automatically detected and configured. The first argument to gstripe indicates an action to be performed: create Set up a striped device from the given devices with specified name. This is the ``manual'' method and the stripe will not exist after a reboot (see DESCRIPTION above). The kernel module geom_stripe.ko will be loaded if it is not loaded already. label Set up a striped device from the given devices with the specified name. This is the ``automatic'' method, where metadata are stored in every device's last sector. The kernel module geom_stripe.ko will be loaded if it is not loaded already. stop Turn off an existing striped device by its name. This command does not touch on-disk metadata! destroy Same as stop. clear Clear metadata on the given devices. dump Dump metadata stored on the given devices. list See geom(8). status See geom(8). load See geom(8). unload See geom(8). Additional options: -f Force the removal of the specified striped device. -h Hardcode providers' names in metadata. -s stripesize Specifies size of stripe block in bytes. The stripesize must be a multiple of the largest sector size of all the providers. -v Be more verbose. SYSCTL VARIABLES
The following sysctl(8) variables can be used to control the behavior of the STRIPE GEOM class. The default value is shown next to each variable. kern.geom.stripe.debug: 0 Debug level of the STRIPE GEOM class. This can be set to a number between 0 and 3 inclusive. If set to 0 minimal debug information is printed, and if set to 3 the maximum amount of debug information is printed. kern.geom.stripe.fast: 0 If set to a non-zero value enable ``fast mode'' instead of the normal ``economic mode''. Compared to ``economic mode'', ``fast mode'' uses more memory, but it is much faster for smaller stripe sizes. If enough memory cannot be allocated, STRIPE will fall back to ``economic mode''. kern.geom.stripe.maxmem: 13107200 Maximum amount of memory that can be consumed by ``fast mode'' (in bytes). This sysctl(8) variable is read-only and can only be set as a tunable in loader.conf(5). kern.geom.stripe.fast_failed A count of how many times ``fast mode'' has failed due to an insufficient amount of memory. If this value is large, you should con- sider increasing the kern.geom.stripe.maxmem value. EXIT STATUS
Exit status is 0 on success, and 1 if the command fails. EXAMPLES
The following example shows how to set up a striped device from four disks with a 128KB stripe size for automatic configuration, create a file system on it, and mount it: gstripe label -v -s 131072 data /dev/da0 /dev/da1 /dev/da2 /dev/da3 newfs /dev/stripe/data mount /dev/stripe/data /mnt [...] umount /mnt gstripe stop data gstripe unload COMPATIBILITY
The gstripe interleave is in number of bytes, unlike ccdconfig(8) which use the number of sectors. A ccdconfig(8) ileave of '128' is 64 KB (128 512B sectors). The same stripe interleave would be specified as '65536' for gstripe. SEE ALSO
geom(4), loader.conf(5), ccdconfig(8), geom(8), gvinum(8), mount(8), newfs(8), sysctl(8), umount(8) HISTORY
The gstripe utility appeared in FreeBSD 5.3. AUTHORS
Pawel Jakub Dawidek <pjd@FreeBSD.org> BSD
May 21, 2004 BSD
All times are GMT -4. The time now is 05:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy