I have a file system which is about 35GB. The problem I have is that
although I use "/dev/rmt/0cn" as the dump device, the tape bails at
around 20GB. Shouldn't I get at least 40Gb compressed? My tape
cartridge is 20GB Native/40GB compressed, and on the documentation I
could find, the only mention on compressing backups points at using
"c" for compressed on DDS-4 drives. Anyone has a clue out there?
Is there something I'm not doing for getting this hardware compress
going? Or would I be better off doing software compress? If so, which
is the best recommended method for software compress? I'm running
Solaris 8 02/02 on an E4500 server.
|
|
0
|
|
|
|
Reply
|
nomada7
|
4/28/2004 7:38:19 PM |
|
Pedro Cortez <nomada7@hotmail.com> wrote:
> I have a file system which is about 35GB. The problem I have is that
> although I use "/dev/rmt/0cn" as the dump device, the tape bails at
> around 20GB. Shouldn't I get at least 40Gb compressed?
Depends on the drive/cartridge and it depends on the data. Already
compressed data (.jpg, .mpg, .mp3, .zip) doesn't compress any further.
Do you have a spare tape?
If you do 'dd if=/dev/zero of=/dev/rmt/0cn bs=256k' How many blocks get
onto the tape before it fills? Since /dev/zero is highly compressible
you should get a lot more than
20 GB / 256k =~ 78000 blocks
If you get double or more than that, your drive is compressing. If you
get around 78000, it's not.
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
|
|
0
|
|
|
|
Reply
|
Darren
|
4/28/2004 8:06:51 PM
|
|
Pedro Cortez (nomada7@hotmail.com) wrote:
: I have a file system which is about 35GB. The problem I have is that
: although I use "/dev/rmt/0cn" as the dump device, the tape bails at
: around 20GB. Shouldn't I get at least 40Gb compressed? My tape
: cartridge is 20GB Native/40GB compressed, and on the documentation I
: could find, the only mention on compressing backups points at using
: "c" for compressed on DDS-4 drives. Anyone has a clue out there?
: Is there something I'm not doing for getting this hardware compress
: going? Or would I be better off doing software compress? If so, which
: is the best recommended method for software compress? I'm running
: Solaris 8 02/02 on an E4500 server.
I think you are missing the point that you only have a 20GB backup device,
which COULD hold 40GB if the data can be compressed 2:1.
If the data is non-compressable, meaning .zip, .gz, .gif, .jpg, there isn't
going to be any additional compression, software or hardware.
Also keep in mind whatever data is non-compressable, that has to be
subtracted from the raw storage. So if you have 35GB of data and 10GB is
non-compressable, you only have 10GB left that could compress but thats only
20GB if 2:1. So the tape will only hold 30GB of data total, or 5GB short.
You really have to start looking at the tape as a 20GB storage, with "a
little bit" more possible.
-bruce
bje@ripco.com
|
|
0
|
|
|
|
Reply
|
bje
|
4/29/2004 3:26:04 PM
|
|
In article <c6r6qc$b5t$1@e250.ripco.com>,
bje@ripco.com (Bruce Esquibel) writes:
> Pedro Cortez (nomada7@hotmail.com) wrote:
>: I have a file system which is about 35GB. The problem I have is that
>: although I use "/dev/rmt/0cn" as the dump device, the tape bails at
>: around 20GB. Shouldn't I get at least 40Gb compressed? My tape
>: cartridge is 20GB Native/40GB compressed, and on the documentation I
>: could find, the only mention on compressing backups points at using
>: "c" for compressed on DDS-4 drives. Anyone has a clue out there?
>: Is there something I'm not doing for getting this hardware compress
>: going? Or would I be better off doing software compress? If so, which
>: is the best recommended method for software compress? I'm running
>: Solaris 8 02/02 on an E4500 server.
>
> I think you are missing the point that you only have a 20GB backup device,
> which COULD hold 40GB if the data can be compressed 2:1.
The best I've ever got out of the compressing DDS drives is 1.6:1
in real world use, and that is on C source code.
--
Andrew Gabriel
|
|
0
|
|
|
|
Reply
|
andrew
|
4/30/2004 2:16:39 AM
|
|
Andrew Gabriel <andrew@cucumber.demon.co.uk> wrote:
>> I think you are missing the point that you only have a 20GB backup device,
>> which COULD hold 40GB if the data can be compressed 2:1.
> The best I've ever got out of the compressing DDS drives is 1.6:1
> in real world use, and that is on C source code.
Most tape drives seem to have similar algorithms. I get a variety of
compression across tapes. Exchange 5.5 always seemed to be the most
consistent, and was usually within 5% of (56/35) or 1.6:1. Other
systems were much more variable. I would often generate Unix
incremental DLT7K tapes that held more than 100G for (100/35) or 2.8:1.
--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
|
|
0
|
|
|
|
Reply
|
Darren
|
4/30/2004 3:26:03 PM
|
|
I'm only backing up the /export directory in my servers, which does
not have any .mpg, .jpg of any sort. There are only O/S images, and
patches (not compressed), and so that is why I'm so bombed that the
drive would not compress at all! I guess if someone could help me up
compressing (software compress via tar, zip or so) the /export
directory I would really appreciate it. Has anyone confirmed that I'm
using the right device for compressing (/dev/rm/0cn)?? thanks.
bje@ripco.com (Bruce Esquibel) wrote in message news:<c6r6qc$b5t$1@e250.ripco.com>...
> Pedro Cortez (nomada7@hotmail.com) wrote:
> : I have a file system which is about 35GB. The problem I have is that
> : although I use "/dev/rmt/0cn" as the dump device, the tape bails at
> : around 20GB. Shouldn't I get at least 40Gb compressed? My tape
> : cartridge is 20GB Native/40GB compressed, and on the documentation I
> : could find, the only mention on compressing backups points at using
> : "c" for compressed on DDS-4 drives. Anyone has a clue out there?
> : Is there something I'm not doing for getting this hardware compress
> : going? Or would I be better off doing software compress? If so, which
> : is the best recommended method for software compress? I'm running
> : Solaris 8 02/02 on an E4500 server.
>
> I think you are missing the point that you only have a 20GB backup device,
> which COULD hold 40GB if the data can be compressed 2:1.
>
> If the data is non-compressable, meaning .zip, .gz, .gif, .jpg, there isn't
> going to be any additional compression, software or hardware.
>
> Also keep in mind whatever data is non-compressable, that has to be
> subtracted from the raw storage. So if you have 35GB of data and 10GB is
> non-compressable, you only have 10GB left that could compress but thats only
> 20GB if 2:1. So the tape will only hold 30GB of data total, or 5GB short.
>
> You really have to start looking at the tape as a 20GB storage, with "a
> little bit" more possible.
>
> -bruce
> bje@ripco.com
|
|
0
|
|
|
|
Reply
|
nomada7
|
5/3/2004 8:58:36 PM
|
|
Pedro Cortez wrote:
> I'm only backing up the /export directory in my servers, which does
> not have any .mpg, .jpg of any sort. There are only O/S images, and
> patches (not compressed), and so that is why I'm so bombed that the
> drive would not compress at all! I guess if someone could help me up
> compressing (software compress via tar, zip or so) the /export
> directory I would really appreciate it. Has anyone confirmed that I'm
> using the right device for compressing (/dev/rm/0cn)?? thanks.
>
Should be obvious, but have you checked the internal DIP switches on the
DDS-4 drive? They might be set to disable compression. Also, post your
/kernel/drv/st.conf file, as there might be some problem in there with
the drive you're using.
--
Bill Wyatt (REMOVEwyattTHIS@cfa.harvard.edu) "remove this" for email
Smithsonian Astrophysical Observatory (Cambridge, MA, USA)
|
|
0
|
|
|
|
Reply
|
WilliamREMOVEWyattTH
|
5/4/2004 2:05:50 PM
|
|
|
6 Replies
423 Views
(page loaded in 0.152 seconds)
Similiar Articles: Backing up on DDS-4 tape drive (Compressed mode) - comp.unix ...I have a file system which is about 35GB. The problem I have is that although I use "/dev/rmt/0cn" as the dump device, the tape bails at around 20GB. ... Easy Backup on tape for Solaris 8 ?? - comp.unix.solaris ...Backing up on DDS-4 tape drive (Compressed mode) - comp.unix ..... use "/dev/rmt/0cn" as the dump device, the tape bails ... could find, the only mention on compressing ... Exporting data tied up in a VAX/VMS system - comp.os.vms ...Backing up on DDS-4 tape drive (Compressed mode) - comp.unix ... I have a file system which ... I'm only backing up the /export ... 1GB), but can't dig up ... Can I bring background process to foreground? - comp.unix.solaris ...Backing up on DDS-4 tape drive (Compressed mode) - comp.unix ... Can I bring background process to foreground? - comp.unix.solaris ... Of course, a reboot should fix you ... problem dd a 72GB disk - comp.unix.solarisBacking up on DDS-4 tape drive (Compressed mode) - comp.unix ... The problem I have is that although I use "/dev/rmt/0cn" as ... If you do 'dd if=/dev/zero of=/dev/rmt/0cn ... does someone have a LZW compression source code in C - comp ...Backing up on DDS-4 tape drive (Compressed mode) - comp.unix ..... real world use, and that is on C source code. Most tape drives seem to have similar algorithms. jpg to mpg? - comp.graphics.apps.gimpBacking up on DDS-4 tape drive (Compressed mode) - comp.unix ... I'm only backing up the /export directory in my servers, which does not have any .mpg, .jpg of any sort. Harvard problem - comp.text.texBacking up on DDS-4 tape drive (Compressed mode) - comp.unix ... The problem I have is that although I use ... conf file, as there might be some problem in there with the ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... top 10 uses for random data compression?? anyone? - comp ...Actually random data can be compressed as much as you like. ... Thus, you should be hurry up not to loss a chance ... If the imperial principals can drive back, the interior ... Backing up on DDS-4 tape drive (Compressed mode) - comp.unix ...I have a file system which is about 35GB. The problem I have is that although I use "/dev/rmt/0cn" as the dump device, the tape bails at around 20GB. ... IBM(R) Half-high LTO Generation 3 SAS Tape Drive, DDS Generation 5 ...The Digital Data Storage Generation 5 Tape Drive compliments the ... to current DDS/4 or DDS/3, next generation media - 170M Up to 3.5 MB/s, 7 MB/s compressed mode back-up ... 7/22/2012 5:53:48 AM
|