Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] STAR options have me confused
Date: Sun, 01 Feb 2009 19:38:54
Message-Id: 200902011938.47320.michaelkintzios@gmail.com
1 Hi All,
2
3 I do not seem to be able to run star with the correct options despite some
4 experimenting ... and was hoping you could correct my errors.
5
6 I seem to have done this successfully in the past, but I am getting
7 inappropriate results this time round. This is the fs I am trying to back
8 up:
9 ========================================================
10 # ls -la /media/hda5
11 total 208
12 drwxr-xr-x 24 root root 4096 Feb 1 12:56 .
13 drwxr-xr-x 14 root root 0 Feb 1 11:45 ..
14 drwxr-xr-x 2 root root 4096 Dec 25 04:02 bin
15 drwxr-xr-x 2 root root 4096 Nov 18 19:37 boot
16 drwxr-xr-x 2 root root 4096 Nov 18 19:37 data
17 drwxr-xr-x 2 root root 4096 Nov 19 00:37 dev
18 drwxr-xr-x 82 root root 12288 Feb 1 08:43 etc
19 drwxr-xr-x 2 root root 4096 Nov 18 19:37 home
20 drwxr-xr-x 2 root root 4096 Feb 21 2005 initrd
21 drwxr-xr-x 12 root root 4096 Jan 31 04:02 lib
22 drwx------ 2 root root 16384 Nov 18 19:35 lost+found
23 drwxr-xr-x 5 root root 4096 Feb 1 07:55 media
24 drwxr-xr-x 2 root root 4096 Dec 23 10:46 misc
25 drwxr-xr-x 2 root root 4096 Feb 21 2005 mnt
26 drwxr-xr-x 2 root root 4096 Feb 21 2005 opt
27 drwxr-xr-x 2 root root 4096 Nov 18 19:37 proc
28 drwxr-x--- 6 root root 4096 Jan 3 05:55 root
29 drwxr-xr-x 2 root root 12288 Nov 23 04:02 sbin
30 drwxr-xr-x 2 root root 4096 Nov 19 00:37 selinux
31 drwxr-xr-x 2 root root 4096 Feb 21 2005 srv
32 drwxr-xr-x 2 root root 4096 Nov 18 19:37 sys
33 drwxrwxrwt 6 root root 4096 Feb 1 08:43 tmp
34 drwxr-xr-x 14 root root 4096 Nov 19 00:38 usr
35 drwxr-xr-x 3 root root 4096 Nov 19 00:43 var
36 ========================================================
37
38 The fs is shown to be 1.1G large:
39 ========================================================
40 # df -h
41 Filesystem Size Used Avail Use% Mounted on
42 ...
43 /dev/hda5 5.8G 1.1G 4.5G 20% /media/hda5
44 ========================================================
45
46 I want to save the backup on a USB drive on /media/sda1. Therefore I ran star
47 as root like this:
48
49 # cd /dev/sda1
50 # star -xattr -H=exustar -c -f hda5_root1.star /media/hda5 -C /media/sda1
51
52 After a lot of messages like these:
53 ========================================================
54 star: No such file or directory. Cannot listxattr
55 for '/media/hda5/usr/sbin/dumpfilter'.
56 star: No such file or directory. Cannot listxattr
57 for '/media/hda5/usr/sbin/ethtool'.
58 star: No such file or directory. Cannot listxattr
59 for '/media/hda5/usr/sbin/traceroute6'.
60 star: No such file or directory. Cannot listxattr for '/media/hda5/usr/tmp'.
61 star: No such file or directory. Cannot listxattr
62 for '/media/hda5/usr/share/firstboot/modules/rootpassword.py'.
63 ========================================================
64
65 ... it eventually completes. What puzzles me is the size of the star archive,
66 which compared to a vanilla tar archive is massive:
67 ========================================================
68 # ls -la /media/sda1
69 total 17294256
70 drwxr-xr-x 2 knoppix knoppix 4096 Feb 1 13:01 .
71 drwxr-xr-x 14 root root 0 Feb 1 11:45 ..
72 -rw-r--r-- 1 root root 932474880 Dec 6 13:50 hda5_root.star
73 -rw-r--r-- 1 root root 867123200 Dec 6 13:26 hda5_root.tar
74 -rw-r--r-- 1 root root 14486097920 Feb 1 13:13 hda5_root1.star
75 -rw-r--r-- 1 root root 940288000 Feb 1 10:42 hda5_root1.tar
76 ...
77 ========================================================
78
79 Is this difference in size between the hda5_root1.tar and hda5_root1.star
80 expected? I also show above the previous back up I did as a comparison
81 (although I cannot recall exactly what options I chose to run star with).
82 --
83 Regards,
84 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] STAR options have me confused Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)