sunhux
asked on
Equivalent of prtvtoc, dd, ufsdump in HP-UX
Hi,
Need the equivalent commands for HP-UX in Solaris :
a) prtvtoc /dev/rdsk/c0t0d0s0 > c0t0d0s0.vtoc
In HPUX, is there a "prtvtoc /dev/vg00" (suppose raw device
needed instead of /dev/vg00 because in Solaris we use .../rdsk/...)
b)ufsdump 0uf /dev/rdsk/c0t0d0s0 output_device_or_file
where output can be /dev/rmt/0 or filename
c)dd if=/dev/rdsk/c0t0d0s0 of=output
where output can be tape device or file
Need the equivalent commands for HP-UX in Solaris :
a) prtvtoc /dev/rdsk/c0t0d0s0 > c0t0d0s0.vtoc
In HPUX, is there a "prtvtoc /dev/vg00" (suppose raw device
needed instead of /dev/vg00 because in Solaris we use .../rdsk/...)
b)ufsdump 0uf /dev/rdsk/c0t0d0s0 output_device_or_file
where output can be /dev/rmt/0 or filename
c)dd if=/dev/rdsk/c0t0d0s0 of=output
where output can be tape device or file
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just last few questions to get the equivalent HP-UX syntax/commands :
What's the equivalent in HP-UX for
a) "ufsdump 0uf dumpfile /" (ie backup root)
(using dump & fbackup)
b) "ufsrestore -ivf dumpfile" (to do selective restore via ufsrestore)
c)"prtvtoc /dev/rdsk/c0t0d0s2 > partinfo.txt" (to get the partition info for c0t0d0 disk)
d)"prtvtoc /dev/rdsk/c0t0d0s2 < partinfo.txt" (to partition the disk)
Thanks