Gentoo Archives: gentoo-user

From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] STAR options have me confused
Date: Sun, 01 Feb 2009 22:10:50
Message-Id: 49861de6.jI6EXy0g45AuFVty%Joerg.Schilling@fokus.fraunhofer.de
In Reply to: [gentoo-user] STAR options have me confused by Mick
1 Mick <michaelkintzios@×××××.com> wrote:
2
3 > Hi All,
4 >
5 > I do not seem to be able to run star with the correct options despite some
6 > experimenting ... and was hoping you could correct my errors.
7
8 Try the command lines from the example section in the man page ;-)
9
10 > The fs is shown to be 1.1G large:
11 > ========================================================
12 > # df -h
13 > Filesystem Size Used Avail Use% Mounted on
14 > ...
15 > /dev/hda5 5.8G 1.1G 4.5G 20% /media/hda5
16 > ========================================================
17 >
18 > I want to save the backup on a USB drive on /media/sda1. Therefore I ran star
19 > as root like this:
20 >
21 > # cd /dev/sda1
22 > # star -xattr -H=exustar -c -f hda5_root1.star /media/hda5 -C /media/sda1
23
24 This is a useless command line as -C /media/sda1 is executed after archiving
25 /media/hda5.
26
27 > After a lot of messages like these:
28 > ========================================================
29 > star: No such file or directory. Cannot listxattr
30 > for '/media/hda5/usr/sbin/dumpfilter'.
31 > star: No such file or directory. Cannot listxattr
32 > for '/media/hda5/usr/sbin/ethtool'.
33 > star: No such file or directory. Cannot listxattr
34 > for '/media/hda5/usr/sbin/traceroute6'.
35 > star: No such file or directory. Cannot listxattr for '/media/hda5/usr/tmp'.
36 > star: No such file or directory. Cannot listxattr
37 > for '/media/hda5/usr/share/firstboot/modules/rootpassword.py'.
38 > ========================================================
39
40 There seems to be a problem with xattr support on your system.
41 Unfortunately, Linux allows you not to install a sufficiently complete OS
42 basesystem.
43
44 Make sure that not only star supports xattrs.
45
46 > ... it eventually completes. What puzzles me is the size of the star archive,
47 > which compared to a vanilla tar archive is massive:
48 > ========================================================
49 > # ls -la /media/sda1
50 > total 17294256
51 > drwxr-xr-x 2 knoppix knoppix 4096 Feb 1 13:01 .
52 > drwxr-xr-x 14 root root 0 Feb 1 11:45 ..
53 > -rw-r--r-- 1 root root 932474880 Dec 6 13:50 hda5_root.star
54 > -rw-r--r-- 1 root root 867123200 Dec 6 13:26 hda5_root.tar
55 > -rw-r--r-- 1 root root 14486097920 Feb 1 13:13 hda5_root1.star
56 > -rw-r--r-- 1 root root 940288000 Feb 1 10:42 hda5_root1.tar
57 > ...
58 > ========================================================
59 >
60 > Is this difference in size between the hda5_root1.tar and hda5_root1.star
61 > expected? I also show above the previous back up I did as a comparison
62 > (although I cannot recall exactly what options I chose to run star with).
63
64 As I don't know what's in both files, I cannot comment.
65
66 If you create a tar archive with POSIX.1-2001 extensions, you get at least
67 1kB of additional meta-data per archived file.
68
69 GNU tar does not support Linux specific extensions...
70
71 Jörg
72
73 --
74 EMail:joerg@××××××××××××××××××××××××.de (home) Jörg Schilling D-13353 Berlin
75 js@××××××××××××.de (uni)
76 joerg.schilling@××××××××××××××××.de (work) Blog: http://schily.blogspot.com/
77 URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Replies

Subject Author
Re: [gentoo-user] STAR options have me confused Mick <michaelkintzios@×××××.com>