LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 09-04-2009, 09:13 AM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Question Partition handling commands equivalents for HP-UX


Hi!

I think I'll have to move some information from one partition to a bigger one. I have no problem unmounting, doing bynary backups of partitions with dd, creating partitions, copying stuff from one partition to another, etc on GNU/Linux, however I'll try these stuff on HP-UX and I'd like to know if there are equivalents to these commands:

- df (so that I can see how much is used in each partition)
- mount (to see the mount points.... I guess this one is just like that in every *NIX, right?)
- dd to copy the information from one partition to another (in case I need to)
- fdisk
- mkfs.xxxx

And others that are normally used for thiese tasks. I've seen that there are utilities available on HP-UX, but I'd rather do it on a command-by-command fashion instead of trusting a menu based utility.
 
Old 09-04-2009, 11:23 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
Using code tags to keep formating
Code:
Linux     HP-UX
=====     =====
df        bdf
mount     mount
dd        dd
mkfs.xxx  newfs
As far as fdisk is concerned, I have only ever dealt with LVM on HP-UX.

pvcreate
vgcreate
lvcreate

Here are some notes I typed up many years ago:

Code:
lvcreate -n lvol129 /dev/vg01                      - Create a new (empty) logical volume
lvextend -L 500 /dev/vg01/lvol129 /dev/dsk/c8t0d2  - Extend the partition to 500MB on specific disk.
newfs -F vxfs -o largefiles /dev/vg01/rlvol129     - Create new Filesystem
mkdir /oradata/repos/u05                           - Make the folder to mount the new volume
vi /etc/fstab                                      - Add the entry in /etc/fstab
mount /oradata/repos/u05                           - Mount the new volume using the information in /etc/fstab
bdf /oradata/repos/u05                             - Check the new volume is being used and is the correct size
Check Filesystem Permissions!
bdf displays values in KB (same as df -k)

Last edited by Disillusionist; 09-04-2009 at 11:27 AM.
 
  


Reply

Tags
hpux



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C: recommended string handling commands? Completely Clueless Programming 9 08-21-2009 03:48 AM
Pasting a block of commands, handling delayed programs (ffmpeg) anonguy9 Linux - Newbie 3 03-27-2009 01:31 PM
Handling Errors and exceptions of commands pdklinux79 Linux - Newbie 1 06-20-2008 02:28 PM
lookinf for linux equivalents for xp "ipconfig" commands ... alred Linux - Networking 4 04-28-2006 08:49 AM
Need help w/ shell handling 3 commands/2 pipes sptchamp Programming 3 07-15-2004 09:37 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration