HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Script
Operating System - HP-UX
1833784
Members
2486
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-30-2007 10:40 PM
10-30-2007 10:40 PM
Script
Hi
This is to infrom you that i have to create 70 Nos of FS of different size and with differnt name so would you be able to help me out with a script which made this work easy.
Regards,
Jit's
This is to infrom you that i have to create 70 Nos of FS of different size and with differnt name so would you be able to help me out with a script which made this work easy.
Regards,
Jit's
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2007 11:38 PM
10-30-2007 11:38 PM
Re: Script
So you want us to do your work.
Your place or mine?
Who brings the lunch?
Will we get your salary?
Jit,
Please re-read your question, and again.
And I'm not complaining about the english.
Nowhere does it indicate you even tried
Nowhere does it indicate what might be needed
Nowhere does it suggest a tool to use any constraint.
We might guess this is really HPUX as implied by the forum. Which version? What architecture? What FS? What storage? LSM?
I'm sure it's obvious to you, but we are not mindreaders.
At the very least
- show us one example of those 20 creates to be done.
- explain and/or show where the names (and sizes) come from
== An excell spreadsheet (convert to CSV and parse!)
== Some algoritme (FS1 .. FS70 )
Good luck!
Hein.
Your place or mine?
Who brings the lunch?
Will we get your salary?
Jit,
Please re-read your question, and again.
And I'm not complaining about the english.
Nowhere does it indicate you even tried
Nowhere does it indicate what might be needed
Nowhere does it suggest a tool to use any constraint.
We might guess this is really HPUX as implied by the forum. Which version? What architecture? What FS? What storage? LSM?
I'm sure it's obvious to you, but we are not mindreaders.
At the very least
- show us one example of those 20 creates to be done.
- explain and/or show where the names (and sizes) come from
== An excell spreadsheet (convert to CSV and parse!)
== Some algoritme (FS1 .. FS70 )
Good luck!
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2007 12:44 AM
10-31-2007 12:44 AM
Re: Script
Indeed, with what you tell us, this quick and dirty script my do the thing (assuming you want to use LVM and have a VG available :
VGNAME=/dev/vgxx
COUNTER=1
while [$COUNTER -le 70 ]
do
lvcreate -L 1 -n FS$COUNTER $VGNAME
mkfs $VGNAME/FS$COUNTER
done
VGNAME=/dev/vgxx
COUNTER=1
while [$COUNTER -le 70 ]
do
lvcreate -L 1 -n FS$COUNTER $VGNAME
mkfs $VGNAME/FS$COUNTER
done
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP