Backup of VIO


 
Thread Tools Search this Thread
Operating Systems AIX Backup of VIO
# 1  
Old 01-26-2009
Error Backup of VIO

I have a script running remotely using viosvrcmd command on hmc to back up the VIO servers. these are the steps involved

1. Mount the NFS directory on to the VIO server

2. run backupios command

3. un mount the directory

I am stuck up in the 3rd step. I am not able to unmount the nfs share after the backup

""HSCL2970 The IOServer command has failed because of the following reason:
Not a valid command: umount /mnt"""

padmin does not have access to umount command. Smilie

Any work around known for this?

BalajiSmilieSmilie
# 2  
Old 01-26-2009
I did a 'help | grep mount' on my VIO server and it looks like you have to use unmount instead of umount.
# 3  
Old 01-26-2009
Wow!!!

That worked.. Thanks buddy!!!!

Balaji
# 4  
Old 01-27-2009
when I have to write a script on the virtual IO-Server, I would never ever use the user padmin, you just have problems with everything, output redirections, shell functions and so on, I mean it's safer and recommended, but a much easier way is become root, you can set a root password in oem_setup_env or ssh authorized key access and run vio-commands with the "ioscli" binary
that's the way padmin uses these commands too, but you don't see it because of aliases set in padmin environment

for example as root, use

Code:
/usr/ios/cli/ioscli lsmap -all

lists all virtual mapped disk devices and so on
# 5  
Old 01-27-2009
Funksen... you are right. its a real pain doing things from padmin

But I have been refrained from using root. Smilie

Just now the viosvrcmd command is not working from HMC to any of the VIO servers. No idea, it just waits for the prompt.

HSCE2124 is the only clue I have. Any one faced this?
# 6  
Old 01-27-2009
What's the exact command you're running?
# 7  
Old 01-29-2009
viosvrcmd -m <MS> -p <partition> -c "backupios -f <path>"

my problem got resolved once i rebooted the hmc.. but wondering why would it happen Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Reboot VIO - OK?

We've got two datacenters and in every datacenter 2 VIOs. The VIO manages the I/O of the LPARs. So: Is it possible to reboot the VIO without shuting down an LPAR:wall: (4 Replies)
Discussion started by: DiViN3
4 Replies

2. AIX

Problems with VIO O/S 2.2.3

I hope someone has experienced this problem before and can help. I have a P730 (8231-E2D) which is fitted with 8 IBM SAS disks on 2 separate SISSAS controllers. The disk type is ST9146853SS (Seagate SAS 146Gb). The problem occurs when I try to install the VIO server software at 2.2.3. It... (3 Replies)
Discussion started by: johnf
3 Replies

3. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

4. AIX

vio server ethernet to vio client ethernet(concepts confusing)

Hi In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID. Similarly how does the vio client partition gets the virtual ethernet scsi client adapter... (1 Reply)
Discussion started by: newtoaixos
1 Replies

5. Red Hat

vio in linux

I am working in AIX. In a P series machine both aix and linux os can install.. specific command is there for aix to list out the vio servers details mapped in a frame(ie. lssrc "IBM.ManagementServer", like that..) is there any command is der to list out vio servers details in linux or how to find... (1 Reply)
Discussion started by: muralikrish
1 Replies

6. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

7. AIX

sddpcm on vio

I have same lun (hdisk3) assigned to 2 vios server (dual vio server) and this is mapped to the client lpar. I have sddpcm on the VIO. On the VIOA, the attributes for fscsi1 and fscsi3 are set to fast_fail and dyntrk is set to yes Now, if I do a lqueryvg -Atp on the hdisk3, I get a "DISK... (4 Replies)
Discussion started by: mk8570
4 Replies

8. AIX

vio server and vio client

Hi, I want to know wheather partition size for installation of vio client can be specified on vio server example If I am installing vio server on blade with 2*300gb hard disk,after that I want to create 2 vio client (AIX Operating system) wheather I can specify hard disk size while... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

9. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

Hi, I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies
Login or Register to Ask a Question