- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: It took around 65 hours to create 1000 VxFS fi...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 01:01 AM
10-09-2006 01:01 AM
Basically I created a HP-UX host (rx2620, with 2 X 1.6 GHz I2; 8GB RAM; 4 X A6826A) with 1000 LUNs from a EVA8k (one path from each of the two HSV210 controller) with 4 paths for each LUN. On those LUNs, I have created 1000 stripped volumes with each volume spread across 4 LUNs. I thought that I can create the whole setup in a day but it took around 5 days plus to run "/etc/vx/bin/vxdisksetup -f -i cXtXdX format=cdsdisk" on each disk. I did the whole setup using script (I mean creation of LUN, presenting them to the host, initializing the disk using VxVM, creating vxVM VG, etc.) and found that "initializing the disk using VxVM" is the bottleneck (took more time than I even imagined) during the whole process.
Does anyone know what I could have done to make to faster?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 01:07 AM
10-09-2006 01:07 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 01:12 AM
10-09-2006 01:12 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 01:16 AM
10-09-2006 01:16 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 01:29 AM
10-09-2006 01:29 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 01:31 AM
10-09-2006 01:31 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
But in the thread you refer to disk initialisation by vxdisksetup.
I can only compare from VxVM use on Solaris boxes.
There the initialization (i.e. the vxdisksetup) only takes a tick per disk.
Could it be your script was dangling in some timeout break?
But even the creation of the filesystem shouldn't take much longer.
But I have to admit that I never used the format=cdsdisk attribute but always sticked to format=sliced since we don't need to swap these disks between say Solaris and HP-UX hosts, and the sliced layout is the preferred for Solaris (maybe some BSD labelling legacy?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 01:31 AM
10-09-2006 01:31 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
Why not just 1 or 2 LUNs, and then 1000 volumes?
The EVA is going to be striping across all the disks in its disk group anyway, so striping at the OS level gains you nothing. 2 LUNs would make sense as you can prefer one to each controller and ensure IOs go to each, but more than this doesn't make much sense to me.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 01:34 AM
10-09-2006 01:34 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 01:42 AM
10-09-2006 01:42 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
Usually one needs to re-issue a "vxdctl enable" to make the daemon aware of the new disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 01:54 AM
10-09-2006 01:54 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
My ultimate goal is to create 1000 VxFS file system created out of 1000 VxVM stripped volumes, each volume stripped across 4 EVA disks. This is meant to simulate a customer scenario. The customer has 16k LUNs exposed to a HP-UX Superdome from an XP12k each LUN have 4 paths. I was asked to create what I created so that we can reach close to customer's config. I created 1000 from a single EVA 8k and all LUNs were RAID 0 vdisk. This is because of space constraint in my EVA. So...that's the backgroud. This is a test config and I am not interested in security/availablily of the data.
I wrote a very simple "vxdisksetup" script and is attached here.
I didn't run "vxdiskadd" command. I am not particular about "vxdisksetup" command. Any command that can initialize (make it ready) the disk for further configuration will do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 02:09 AM
10-09-2006 02:09 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
a bit too haevy for the VxVM config daemon at one shot.
Try inetrspersing the vxdctl enable call maybe after every 100th vxdisksetup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 03:27 AM
10-09-2006 03:27 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 05:36 AM
10-09-2006 05:36 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
vxdctl enable
and then run for loop with the following:
vxdisksetup -i /dev/dsk/cXXtYYdZZ
woule be enough to initialize the LUNs and wouldn't take much time. For testing purpose, run for loop for 10 LUNs and see how it goes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 05:43 AM
10-09-2006 05:43 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
vxdctl cacheenable
cacheenable
Requests that caching of device opens are enabled in the
VxVM kernel module.
At the VxVM configuration discovery time a disk device may
be opened and closed multiple times. Depending on the disk
array(s) being used, multiple opens of the same device could
delay the startup time of the vxconfigd significantly. To
minimize the delay in multiple opens, the first open of the
device is cached and used for subsequent opens.
When the machine is booting, the caching is automatically
enabled to speed up the boot process. Once the machine has
been booted, the caching is disabled via the VxVM startup
script.
If caching is enabled and the vxconfigd has been started and
you do not plan to restart the vxconfigd or re-enable the
VxVM configuration, then the device caching should be
disabled by using the cachedisable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 08:50 PM
10-09-2006 08:50 PM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
You can put it in loop. Just take note of the following information as well.
(1) If it is cluster group of system accessing common area, ensure that you pause after each creation of file system and the vxvm is enabled only from one system.
(2) Before you create file system have pre-checks to find out if the mount points are already created.
(3) Take a vxvm backup using dgcfgbackup and
vxconfigbackup after you perform in one system. So that restoration of backup will be sufficient to create the filesystem.
Thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 02:23 AM
10-25-2006 02:23 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
1. Initialisation of the disks
2. Creation and addition of these disks to a Diskgroup
3. Creation of your so called "1000 striped volumes"
and Drumroll...
4. Creation of your "Filesystems"?
What I could have done is as follows:
1. vxdctl enable (if the disks are newly presented)
2. create a list of all these disks (primary path of course -- which are the lowest cX number of the 4 paths for each lun)
3. Initialize them:
for disk in `cat DISLIST`;do
/etc/vx/bin/vxdisksetup -i $disk
done
4. Create DG
vxdg init perfdg disk1=cXtYdZ (from the list)
5. Add the disks to the DG
n=1
for disk in `cat DISKLIST|grep -v cXtYDZ`;do
n=n+1
vxdg -g perfdg adddisk disk${n}=$disk
done
6. Create your striped volumes:
n=0
until n=1000;do
n=n+1
vxassist -g perfdg create vol$n XXXg layout=striped ncols=4
mkfs -F vxfs -o bsize=nnnn,largefiles /dev/vx/rdsk/perfdg/vol$n
done
I reckon all these should be done in under 2-3 hours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 03:27 AM
10-25-2006 03:27 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
I am going get the setup back sometime next week. I will redo the whole thing once again, or may be couple of times. There are couple of suggestions. I would like to try so that I don't face this issue in future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 04:12 AM
10-26-2006 04:12 AM
SolutionOne possible contributory factor to your "slow" experience is you probably do not have the Array Support Library for EVA Installed..
Can you check?
# swlist |grep "Array Support"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 04:20 AM
10-26-2006 04:20 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
With this config, as per Veritas support ASL comes in-built into VxVM. Isn't it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 04:22 AM
10-26-2006 04:22 AM
Re: It took around 65 hours to create 1000 VxFS file systems. Any scope for improvement?
In your system startup, does VxVM spew out messages tho the effect that it "recognizes" a licensed array or something?