Amanda-Users

Append Files using tar

2005-04-12 02:20:05
Subject: Append Files using tar
From: Kaushal Shriyan <kshriyan AT redhat DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 12 Apr 2005 11:38:38 +0530
Hi Mr Kaushal,
> >
> > As per our conversation, i am sending you the screen shot of the
steps
> > followed by me.
> >
> > [root@spica tartest]# tar -cvf /dev/nst0 folderA
> > folderA/
> > folderA/t1
> > folderA/t2
> > [root@spica tartest]# tar -tvf /dev/nst0
> > [root@spica tartest]# tar -tvf /dev/nst0
> > tar: /dev/nst0: Cannot read: Input/output error
> > tar: At beginning of tape, quitting now
> > tar: Error is not recoverable: exiting now
> > [root@spica tartest]# mt -f /dev/nst0 rewind
> > [root@spica tartest]# tar -tvf /dev/nst0
> > drwxr-xr-x root/root         0 2005-04-01 15:54:53 folderA/
> > -rw-r--r-- root/root         7 2005-04-01 15:54:48 folderA/t1
> > -rw-r--r-- root/root        10 2005-04-01 15:54:55 folderA/t2
> > [root@spica tartest]# mt -f /dev/nst0 rewind
> > [root@spica tartest]# tar -rvf /dev/nst0 folderB
> > folderB/
> > folderB/t3
> > folderB/t4
> > [root@spica tartest]# mt -f /dev/nst0 rewind
> > [root@spica tartest]# tar -tvf /dev/nst0
> > drwxr-xr-x root/root         0 2005-04-01 15:54:53 folderA/
> > -rw-r--r-- root/root         7 2005-04-01 15:54:48 folderA/t1
> > -rw-r--r-- root/root        10 2005-04-01 15:54:55 folderA/t2
> > [root@spica tartest]#
> >
> >
> > As you can see, in the end when i do tar -tvf /dev/nst0, only the
contents
> > of folder A
> > are displayed and that of folderB are not displayed. This does not
meet
> our
> > requirement.
> > We want the contents of both the folders.
> >
> > Regards,
> > Pooja SIngh.
-- 
Regards,

Kaushal Shriyan
Technical Engineer
Red Hat India Pvt. Ltd.
1st Floor,'C'Wing,
Fortune2000,
Bandra Kurla Complex,
Bandra(East),
Mumbai 400051.
Maharashtra
India
Tel    : +91-22-39878888
Fax    : +91-22-39878899
Cell   : +91-9820367783
E-mail : kshriyan AT redhat DOT com

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>