Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Super-Compressing /home

  1. #1
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Cool Super-Compressing /home

    Hi there, penguins!
    As a deletion of /home is not necessary at all when moving to an upgraded System (*hint*), Id like to know hwo it might be possible to super-squeeze /home.
    Of course, using an external drive would be the easiest way to go, but what to do if /home is HUGE and no adequate HDD is around?

    Which command does exist to super-compress home as much as possible in oder to uncompress it on the new system?

    NOTE: I am _not_ looking forward to compress /home with any archiving tools like Arc.
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  2. #2

    Default Re: Super-Compressing /home

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I believe Ark (like file-roller) is just a frontend for the apps on the
    backend. If you have a huge directory to squeeze, though, the same
    technologies apply. To move them quickly with low compression just use
    tar but to actually squeeze (rather than just bundle) data into a smaller
    space use a compression application like gzip or bzip2:

    tar -cvf /tmp/yourUserHomeDirectory.tar /home/yourUser #bundle
    tar -zcvf /tmp/yourUserHomeDirectory.tgz /home/yourUser #gzip compress
    tar -jcvf /tmp/yourUserHomeDirectory.tgz /home/yourUser #bzip2 compress

    Once done move the /tmp/whatever file to your new box.

    Good luck.





    TheMask wrote:
    > Hi there, penguins!
    > As a deletion of /home is not necessary at all when moving to an
    > upgraded System (*hint*), Id like to know hwo it might be possible to
    > super-squeeze /home.
    > Of course, using an external drive would be the easiest way to go, but
    > what to do if /home is HUGE and no adequate HDD is around?
    >
    > Which command does exist to super-compress home as much as possible in
    > oder to uncompress it on the new system?
    > NOTE: I am _not_ looking forward to compress /home with any archiving
    > tools like Arc.
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJK8CWBAAoJEF+XTK08PnB5Y9MQANcBtTN/6+lR1lYqZyEgYNtX
    VM7WcCo8SYRyNQlLN6NAnJ0J1GzlTZjvE1L/itFKmrUp77jt8nd7+asy4N3n1HR1
    D2KeAtgcvmxQujAzLiAN8FIBByTv7+ONH2P9C0G7rfS+/ptldfPQz899vjk/T/CB
    SIX5+1kAqTFNK9sDBLlMjSNiKM9E8AMRiaMNd+6rck4V0MnzjuTh3uWNOq+Kzlq/
    0WJOceHNjpwKUM3/eTJCjXqWoIqhWVh/J2ZydQrRIBb+0yw342AVAcGeNWUUpt9y
    CjyvNkJWlipYbuB/Sr5pZglIDJnr7o3mZKTgq1F958TAZ6luJeddY72L3cyrugTe
    Z9yk+6OZIn4RmoTAUabaa6rcahOvMUyixUGKN4DQhc9t3iKRDm7UEnNmeyTVpFdg
    aRCHc9zDN+tF/T+HUyY//Vcwxp+TZredav/1qWsOpq8trQql8DMexJ+i1tX6Mfc9
    ckDXxf39YEI7CM4wxVfCu3zwwt3jO3gzNgLgfe8xmKnjd2HvWdeYz69ytDkIOXc5
    Df1eSax6ZArkSQUAp9dfyZK5I3gCZvehdAm+yAVDX9ULTBEaB0W0N0nNsDmhtdBr
    ZCkDIaXK9RpOp2/ExlOKajESCsCbwYibEd34qa4UfOh2tZGn04KQk8757mMrgFmx
    /VdIeq8fqoXMJFNccxdO
    =NcN2
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default Re: Super-Compressing /home

    Umpf, isnt there some other way to do this? When doing this like you suggested, Id have to install Ark again - and Ive uninstalled it for a reason.
    Which internal compressing commands do exist for OpenSuse?
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,996
    Blog Entries
    14

    Default Re: Super-Compressing /home

    If it's about moving /home to a new system, I never compress. I put the new drive in my main system, 'dd' /home to the new disk, after that enlarge the partition if needed.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default Re: Super-Compressing /home

    I dont understand what you just said. Please explain it again.
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  6. #6

    Default Re: Super-Compressing /home

    Quote Originally Posted by TheMask View Post
    Umpf, isnt there some other way to do this?
    Of yourse there is, you can also use one of the other dozens of compressing programs, so where's your problem?

    Compressing without a compression program is something that won't work.

    Quote Originally Posted by TheMask View Post
    When doing this like you suggested, Id have to install Ark again
    Where is Ark involved in that process?

    Quote Originally Posted by TheMask View Post
    - and Ive uninstalled it for a reason.
    Which internal compressing commands do exist for OpenSuse?
    The ones already mentioned for example.

  7. #7
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default Re: Super-Compressing /home

    Thanks Alkoellh for your clrification. Still looking forward to receive Knurphts response.
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  8. #8

    Default Re: Super-Compressing /home

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    man dd

    'dd' is a command to copy data byte-by-byte from one place to another.
    Personally I do not know why you would use this over just a plain old 'cp'
    of data from the source to the destination (especially since you could
    have the destination be a larger size from the start) but hopefully that
    explanation will come. Using 'cp' and other commands also means you can
    optimize transfer of things like sparse files.

    Good luck.






    TheMask wrote:
    > I dont understand what you just said. Please explain it again.
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJK8DE/AAoJEF+XTK08PnB5qFsQAJ7r8znul6fnOO9K4hVwEes1
    8DTMHsGOYNkkoS2hElTojmhgxXgwSbjNizgR/Uxsq9JBCr2281s3XSiLoVHF+vdE
    KOL+l+q9quez/4WqIuNpENormrIljazAido1Ih8VulptCU/qsFr/a+7/MBZFNv7+
    uqhkr9DxQp7aD0AiiHrr5uxwFVgE57q9z07ycMuB+hBqwslm2exC/x5rX7mEMOd4
    aRuGX2cYsxlhdEGcYfhvLtcueBLdqEPnuMkDEzVFrk8tztKgBhzRjOfzSoqTf0E5
    iAUQBG6BxavRo3BbrbpbtWf7TdVehLskWbzi5MHc7dW9KSdO3hotiwmFxjk/hEc9
    lYaTr3jbyV4hKh4gd9hyRl9GlctdQWioLoJUzG+uCaWFwrvWXkg3V54RTGD7Ep2o
    NFIDgybrYrOwfNHprrcX51oqcY25isy9gYjIyN0ibDHPI7WqD7EFtgu99koND7zz
    e2X00HaSUPvMYGR0pzuWzjkMv3UUKVu4TOm2m6V58IQ8hMvoeBac+DuynaoS0WC+
    gcyepVFdS9hufsutHTTosTBS8Te3w7WffmW0C1igeRcT4V736GHUtP5kKFr4qRSy
    FbzRmMUB5QkNQ6MYOFSPbpKF/S3Wq+aNBPCPwGh+YQS2TyZdTbfQkpY4Uyug52Nq
    xRNLf92e/Cke4Bpd8yL0
    =Cmrn
    -----END PGP SIGNATURE-----

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,121
    Blog Entries
    15

    Default Re: Super-Compressing /home

    Quote Originally Posted by TheMask
    Hi there, penguins!
    As a deletion of /home is not necessary at all when moving to an
    upgraded System (*hint*), Id like to know hwo it might be possible to
    super-squeeze /home.
    Of course, using an external drive would be the easiest way to go, but
    what to do if /home is HUGE and no adequate HDD is around?

    Which command does exist to super-compress home as much as possible in
    oder to uncompress it on the new system?
    NOTE: I am _not_ looking forward to compress /home with any archiving
    tools like Arc.
    Hi
    Look at using lmza from the command line, else as ab said, use dd
    http://en.wikipedia.org/wiki/Lempel-...hain_algorithm

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
    up 10:26, 2 users, load average: 0.31, 0.26, 0.22
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


  10. #10
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,996
    Blog Entries
    14

    Default Re: Super-Compressing /home

    Quote Originally Posted by TheMask View Post
    I dont understand what you just said. Please explain it again.
    To explain, this is what I did:

    Had /home on a 120GB, bought a 250GB, put it in the machine, did:
    dd if=/dev/sd[homedisk] of=/dev/sd[newdisk]
    Used partitioner to enlarge /home partition on the newdisk, and mount it instead of the old one, done.

    Is that what you meant? A 'man dd' will give you all the info you need.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •