Link to home
Start Free TrialLog in
Avatar of usaperl
usaperl

asked on

use vxdiskadd c0t0d0 < /tmp/commands

Hi,
   I cannot run vxdiskadd using redirect;
the /tmp/commands contains:
y
q



it produces the following errors:

cat: write error: Bad file number


cat /tmp/commands |vxdiskadd c0t0d0
produces the following errors:

Add or initialize disks
Menu: VolumeManager/Disk/AddDisks
Broken Pipe
Broken Pipe


Is there a way to feed input to the vxdiskadm vxvm?

thanks

ASKER CERTIFIED SOLUTION
Avatar of kawin
kawin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of usaperl
usaperl

ASKER

thanks
Avatar of usaperl

ASKER

is this encapsulate or initialize?
vxdisksetup -i <disk> mean to initial disk.

- Kawin
Avatar of usaperl

ASKER

thanks alot;
so i guess -e is encapsulate.