| View previous topic :: View next topic |
| Author |
Message |
Ric95 Tux's lil' helper


Joined: 10 Apr 2007 Posts: 94 Location: Alberta Can.
|
Posted: Sat Mar 20, 2010 12:01 am Post subject: Odd tar behavior. Did stage4 finish? [solved] |
|
|
I made a stage4.tar.bz2 with :
| Code: | | tar cvjf /media/sda4/stage4.tar.bz2 / -X stage4.excl |
The exclusion file only excludes | Quote: | | /root/.local/share/Trash/* |
It packed everything up until it reached /usr/ksomething and then just stopped.
It didn't return the terminal, it did create the 1.5 GB archive on the storage partition (sda4).
Xarchive just sits busy when I try to open it.
Am I missing something? _________________ Corporations are not like people. They don't need rights as people do, they only need an even playing field on which to compete.
Last edited by Ric95 on Sun Mar 21, 2010 4:56 am; edited 1 time in total |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sat Mar 20, 2010 2:51 am Post subject: |
|
|
it looks like your /media/sda4 ran out of room. 1.5G may not be anywhere near big enough.
Look at the output of df -h to get a ballpark idea of the space your installation uses. |
|
| Back to top |
|
 |
d2_racing Moderator


Joined: 25 Apr 2005 Posts: 12867 Location: Ste-Foy,Canada
|
Posted: Sat Mar 20, 2010 1:07 pm Post subject: |
|
|
Maybe you need to exlude this too : stage4.tar.bz2 _________________ Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec |
|
| Back to top |
|
 |
Ric95 Tux's lil' helper


Joined: 10 Apr 2007 Posts: 94 Location: Alberta Can.
|
Posted: Sat Mar 20, 2010 3:08 pm Post subject: |
|
|
| Quote: | it looks like your /media/sda4 ran out of room. 1.5G may not be anywhere near big enough.
Look at the output of df -h to get a ballpark idea of the space your installation uses. |
| Code: | ric@localhost ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 29G 9.3G 19G 34% /
udev 10M 184K 9.9M 2% /dev
/dev/sda2 106G 43G 63G 41% /media/windows
/dev/sda4 455G 36G 396G 9% /media/sda4
shm 2.8G 0 2.8G 0% /dev/shm
|
Thanks, but sda4 has plenty of room.
| Quote: | | Maybe you need to exlude this too : stage4.tar.bz2 |
Thats an important thing to do. But to make sure I wasn't packing the package into itself, I put it on a different partition; sda4. ( I'm working from sda3) _________________ Corporations are not like people. They don't need rights as people do, they only need an even playing field on which to compete. |
|
| Back to top |
|
 |
Ric95 Tux's lil' helper


Joined: 10 Apr 2007 Posts: 94 Location: Alberta Can.
|
Posted: Sun Mar 21, 2010 4:55 am Post subject: |
|
|
It was my bad.
I was trying to include everything possible. ( I previously excluded /dev , and regretted doing so.)
/proc must be excluded. It doesn't contain files, just virtual files, created as needed.
Adding /proc/* to the exclusion file allowed me to finish.  _________________ Corporations are not like people. They don't need rights as people do, they only need an even playing field on which to compete. |
|
| Back to top |
|
 |
d2_racing Moderator


Joined: 25 Apr 2005 Posts: 12867 Location: Ste-Foy,Canada
|
Posted: Sun Mar 21, 2010 1:59 pm Post subject: |
|
|
Nice then. _________________ Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec |
|
| Back to top |
|
 |
RedSquirrel Guru


Joined: 22 Apr 2008 Posts: 336
|
Posted: Sun Mar 21, 2010 8:52 pm Post subject: |
|
|
For future backups, you might want to have a look at blinkeye's script. I find it works very well.
With regard to /dev, on most systems you only need /dev/null and /dev/console. (They are included in the stage4 tarball if you use blinkeye's script.)
Here is another link for your perusal:
http://en.gentoo-wiki.com/wiki/Custom_Stage4
A link to blinkeye's script is included in the Credits section there. |
|
| Back to top |
|
 |
Ric95 Tux's lil' helper


Joined: 10 Apr 2007 Posts: 94 Location: Alberta Can.
|
Posted: Mon Mar 22, 2010 4:07 am Post subject: |
|
|
Making a stage4 is pretty basic, ( says me, who just messed it up ) but Blinkeyes script looks really good. I may use it in the future. _________________ Corporations are not like people. They don't need rights as people do, they only need an even playing field on which to compete. |
|
| Back to top |
|
 |
d2_racing Moderator


Joined: 25 Apr 2005 Posts: 12867 Location: Ste-Foy,Canada
|
Posted: Tue Mar 23, 2010 1:11 am Post subject: |
|
|
Blinkeye script is a Stage 4.
| Code: | | Last modified : 2009-04-13 13:05 by blinkeye |
So, it's the latest version. _________________ Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec |
|
| Back to top |
|
 |
|