Question about Smitty Fs (backup an F.S)


 
Thread Tools Search this Thread
Operating Systems AIX Question about Smitty Fs (backup an F.S)
# 8  
Old 09-16-2008
oki sir..that was fast...heheh thanks


this is my script


restore

restore 2>&1 -Tq -f /dev/rmt0 -v


wht will i add to list the total size of the files in gig ?


thanks sir
# 9  
Old 09-17-2008
I am using in my script....

tctl -f /dev/rmt0 offline
# 10  
Old 09-17-2008
First off, a word on organization: please post different questions/problems in different threads. Your thread will become part of the knowledge base here and basically if someone searches for "how to eject a tape" he should not have to wade through "how to back up a file system". Thanks.

To be on the save side use

Quote:
tctl -f /dev/rmt0 rewoffl
this will rewind the tape and only then eject it. This way you can be sure to have only rewound tapes ejected. In theory the hardware should take care of that automatically but it doesn't hurt to be cautious.

I hope this helps.

bakunin

Last edited by bakunin; 09-17-2008 at 06:32 PM..
# 11  
Old 09-17-2008
To eject a tape in tape drive zero:

tctl -f /dev/rmt0 rewoffl
# 12  
Old 09-17-2008
Quote:
Originally Posted by Mayank Shah
I am using in my script....

tctl -f /dev/rmt0 offline

thanks all

but im using tctl -f /dev/rmt0 offline..which i discovered through man tctl..heheh


thanks all
# 13  
Old 09-17-2008
Quote:
Originally Posted by bakunin
First off, a word on organization: please post different questions/problems in different threads. Your thread will become part of the knowledge base here and basically if someone searches for "how to eject a tape" he should not have to wade through "how to back up a file system". Thanks.

To be on the save side use



this will rewind the tape and only then eject it. This way you can be sure to have only rewound tapes ejected. In theory the hardware should take care of that automatically but it doesn't hurt to be cautious.

I hope this helps.

bakunin

thanks sir
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Smitty

Hi All, Im new in aix, anyone can advice is there any way to understand smitty ?:confused: Thanks. TCP. (4 Replies)
Discussion started by: tcp01315
4 Replies

2. AIX

Backup and restore question

I run a backup sucessfully: find . | backup -ivqf/dev/rmt0 I want to make sure I can restore, so I change to a test directory and try this: restore -rvqf /dev/rmt0 However, we fail with this error: New volume on /dev/rmt0: Cluster size is 51200 bytes (100 blocks). The volume number is... (3 Replies)
Discussion started by: landog
3 Replies

3. 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

4. Solaris

A question about backup.

Hi all. There are some SPARC mashines. What method can be made from them backup (slices or entire disk) in field conditions if I have only the laptop with win xp pro and the internet? (5 Replies)
Discussion started by: wolfgang
5 Replies

5. AIX

Sudo and smitty

Hello everyone I have a question. Its possible to type smitty mksysb using sudo ? I have a partition and install sudo I create a user for use sudo. I make a test with sudo and command line for the mksysb and its ok sudo mksysb -i /dev/rmt0 and I can make my mksysb. My question... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

6. AIX

Backup question

Hi All! I'm rather new in AIX so I want some comments about backup scheme I've developed to backup every part of the system. I have the following hardware: - Power6 570 server with two VIO server and 3 LPARs - NIM server outside (on the other Power server) - Windows 2003 Server with Tivoli... (2 Replies)
Discussion started by: kogor
2 Replies

7. AIX

Question on CD writer & backup

Hi All, 1. I have many AIX system here but none of them has any CD writer. I want to buy external CD writer so I can move around when needed. Can some one tell me which one they have. Please let me know exact model number so it will be easy for me to order it. I tried going to IBM web site,... (4 Replies)
Discussion started by: samnyc
4 Replies

8. AIX

mksysb with smitty

Hello I need to make a mksysb, I try with smitty but I get the next message 0512-017 mksysb: Cannot write to the device /dev/rmt3. Either write protected or in use. My tape are ready to write ( dont get protection) I use the clean tape and I try with other tapes but I... (6 Replies)
Discussion started by: lo-lp-kl
6 Replies

9. AIX

Question about restoring from mksysb backup

Hello, Last night I applied a DB2 fix pack which is now causing problems with the application that uses db2. Prior to applying the fix pack I did a mksysb(rootvg) which includes the file system that has db2 installed on it. If I do a restore from this will it restore the db2 version back to... (1 Reply)
Discussion started by: jyoung
1 Replies

10. UNIX for Dummies Questions & Answers

HP Unix Backup question

I am very new to Unix. We have a Unix workstation that is on a tape backup system setup by an external consultant. However, I need to know how to verify that the backup is actually running and backing up actual data. When I checked earlier this week, the log file had listed the folllowing: ... (2 Replies)
Discussion started by: lsnapp
2 Replies
Login or Register to Ask a Question