1752292 Members
4519 Online
108786 Solutions
New Discussion юеВ

Commands

 
SOLVED
Go to solution
administrador
Advisor

Commands

Hello, What command is similar for HP UX???

disklabel -rw rzf32
mkfdmn /dev/rzf32c sap_domain6

# mkfset sap_domain6 sapdata6

# mkfset sap_domain6 sapdata9

mount sap_domain6#sapdata6 /oracle/SP1/sapdata6

# mount sap_domain6#sapdata9 /oracle/SP1/sapdata9



5 REPLIES 5
Hein van den Heuvel
Honored Contributor
Solution

Re: Commands

You show disk and AdvFS commands

In Hpux one tends to use LVM and VxFs

TO get going please check out

1) the Hp-ux man pages
http://docs.hp.com/en/hpuxman_pages.html

2) The 'rosetta' stone of translations:
http://bhami.com/rosetta.html

Good luck,
Hein.
Ivan Ferreira
Honored Contributor

Re: Commands

You should use LVM, to create a volume you need commands like this:

# Prepare the disk for LVM
pvcreate /dev/rdsk/c0t0d0

# Create the volume group
mkdir /dev/vgnn
mknod /dev/vgnn/group c 64 0xnn0000
vgcreate /dev/vgnn /dev/dsk/c0t0d0

# Create the logical volume
lvcreate -n lvol1 /dev/vg01

# Create the file system in the LV
mkfs -F vxfs /dev/vg01/lvol1

# Mount the file system

mount -F vxfs /dev/vg01/lvol1 /data_vol1
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
administrador
Advisor

Re: Commands

Please, Could you tell me what is the meaning of the following errors??, Thank├В┬┤s..

prdsvr3:root:> pwd
/oracle/SP1/sapbackup

prdsvr3:root:> cd /

prdsvr3:root:> pwd
/

prdsvr3:root:> disklabel -rw rzf32

prdsvr3:root:> mkfdmn /dev/rzf32c sap_domain6
mkfdmn: domain '/etc/fdmns/sap_domain6' already exists
mkfdmn: can't create new domain 'sap_domain6'

prdsvr3:root:> mkfset sap_domain6 sapdata6
mkfset: can't create file set 'sapdata6' in domain 'sap_domain6'
mkfset: error = E_BAD_MAGIC (-1167)

prdsvr3:root:> mkfset sap_domain6 sapdata9
mkfset: can't create file set 'sapdata9' in domain 'sap_domain6'
mkfset: error = E_BAD_MAGIC (-1167)
Hein van den Heuvel
Honored Contributor

Re: Commands

Well, it probably already does exist.

Do a: ls -lR /dev/fdmns

Also read up the man pages for:

- showfdmn
- advscan
- fdmns
- advfs

Finally... go very carefully.
You are playing with desctrutive commands and we must conclude you do not exactly know what you are doing. A scary combination unless you are on a test box and just intent to learn.
A node name 'prdsrv' suggests 'Production Server' to me. Yikes!

Good luck!
Hein.
Manuales
Super Advisor

Re: Commands

Thanks a lot !!!!