troubleshooting tape

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bryce C
Date:  
Subject: troubleshooting tape
--=-xkdK9x/lNhB/Z5dy+0V5
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Ummm... Once again, you have the command arguments backwards (in what
you pasted at least). Do the following:
tar cvf /dev/ht0 /home
You were, once again, trying to backup the device /dev/ht0 to the file
/home which simply isn't possible because /home is actually a directory.

On Sat, 2003-11-08 at 22:35, Bob Holtzman wrote:
> On Sat, 8 Nov 2003, Jason Santos wrote:
>=20
> > On Sat, 2003-11-08 at 17:55, Bryce C wrote:
> >=20
> > The correct way to backup /home to a tape device using tar would be:
> >=20
> > tar cvf /dev/ht0 /home
> >=20
> > or
> >=20
> > tar cf /dev/ht0 /home
> >=20
>=20
> Damn, do I feel dumb! I even looked it up in "Running Linux" because I=20
> hadn't done it in awhile and proceeded to type it backwards. *However*,=20
> the result is the same:
>=20
> [root@localhost /]# tar cvf /home /dev/ht0
> tar: /home: Cannot open: Is a directory
>=20
> >=20
> > If you want to check the status of the tape drive:
> > mt -f /dev/ht0 status
> >=20
>=20
> [root@localhost holtzm]# mt -f /dev/ht0 status
> SCSI 2 tape drive:
> File number=3D0, block number=3D0, partition=3D0.
> Tape block size 22790 bytes. Density code 0x0 (default).
> Soft error count since last status=3D0
> General status bits on (0):
>=20
> The only problem is I don't know what this is telling me. Can you deciphe=

r=20
> this?
>=20
> Thanks for the reply. Thanks also to Bryce C <> who climb=

ed=20
> on me for the same thing.

--=20
Bryce C <>
CoBryce Communications

--=-xkdK9x/lNhB/Z5dy+0V5
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/rdoR/wbq/C6yyPcRAhowAJ936wxr5Cepy9cBzTOoiSR3tnRNFQCeICaq
z62zYcZplrJ8Tm4nZr6es/U=
=sdcV
-----END PGP SIGNATURE-----

--=-xkdK9x/lNhB/Z5dy+0V5--