Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

can not sync, but my disk isn't full

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
21 posts • Page 1 of 1
Author
Message
chy168
n00b
n00b
Posts: 70
Joined: Sat Mar 12, 2005 10:12 am

can not sync, but my disk isn't full

  • Quote

Post by chy168 » Sat Jan 07, 2006 5:02 am

When I emerge sync.
I got

Code: Select all

mkdir "/usr/portage/rsync://rsync.gentoo.org.tw/gentoo-portage/metadata/timestamp.chk" failed: No such file or directory
rsync error: error in file IO (code 11) at main.c(327)

!!! Rsync has reported that there is a File IO error. Normally
!!! this means your disk is full, but can be caused by corruption
!!! on the filesystem that contains PORTDIR. Please investigate
!!! and try again after the problem has been fixed.
!!! PORTDIR=/usr/portage
But my disk is not full.
I even delete all file in /usr/portage but in vain.


any idea?
Top
anonybosh
Guru
Guru
Posts: 324
Joined: Sun Nov 20, 2005 1:45 am

  • Quote

Post by anonybosh » Sat Jan 07, 2006 5:17 am

What's the output from
# emerge info
?
Top
chy168
n00b
n00b
Posts: 70
Joined: Sat Mar 12, 2005 10:12 am

  • Quote

Post by chy168 » Sat Jan 07, 2006 5:19 am

liber8ate wrote:What's the output from
# emerge info
?
sorry, I forgot to post it.

Code: Select all

emerge sync
Top
drescherjm
Advocate
Advocate
Posts: 2792
Joined: Sat Jun 05, 2004 5:46 am
Location: Pittsburgh, PA, USA

  • Quote

Post by drescherjm » Sat Jan 07, 2006 5:29 am

Please run the following command and post the output:

Code: Select all

emerge info
John

My gentoo overlay
Instructons for overlay
Top
drescherjm
Advocate
Advocate
Posts: 2792
Joined: Sat Jun 05, 2004 5:46 am
Location: Pittsburgh, PA, USA

  • Quote

Post by drescherjm » Sat Jan 07, 2006 5:32 am

disk is full, but can be caused by corruption
Is it possible that your filesystem is corrupt?

Are you using reiser4?
John

My gentoo overlay
Instructons for overlay
Top
chy168
n00b
n00b
Posts: 70
Joined: Sat Mar 12, 2005 10:12 am

  • Quote

Post by chy168 » Sat Jan 07, 2006 8:22 am

drescherjm wrote:Please run the following command and post the output:

Code: Select all

emerge info

Code: Select all

Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.3.6, unavailable, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 1500MHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  [Not Present]
ACCEPT_KEYWORDS=""
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks sandbox"
GENTOO_MIRRORS="ftp://linux.nctu.edu.tw/dists/gentoo ftp://ftp.cdpa.nsysu.edu.tw/Gentoo ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.isu.edu.tw/pub/Linux/Gentoo ftp://ftp.giga.net.tw/OS/Linux/Gentoo ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO ftp://ftp.nsysu.edu.tw/Linux/Gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo ftp://ftp.planetmirror.com/pub/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage rsync://rsync.gentoo.org.tw/gentoo-portage"
USE="apache2 gd mmx mysql nls nptl nptlonly sse sse2 unicode"
Unset:  PORTDIR_OVERLAY
Top
chy168
n00b
n00b
Posts: 70
Joined: Sat Mar 12, 2005 10:12 am

  • Quote

Post by chy168 » Sat Jan 07, 2006 8:31 am

drescherjm wrote:
disk is full, but can be caused by corruption
Is it possible that your filesystem is corrupt?

Are you using reiser4?
Sorry, how can I know the version of reiserfs ?

thank you... :oops:

there is a message I get from /var/log/message

Code: Select all

Sep 26 10:05:25 csc241 ReiserFS: hda1: found reiserfs format "3.6" with standard journal
is this one ?
Top
red-wolf76
l33t
l33t
User avatar
Posts: 714
Joined: Wed Apr 13, 2005 6:20 pm
Location: Rhein-Main Area

  • Quote

Post by red-wolf76 » Sat Jan 07, 2006 1:29 pm

If you don't know the version of Reiserfs that you're using, then you're most probably not using Reiser4, unless you had a friend install your system without telling you.
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Top
Catch-22
Apprentice
Apprentice
User avatar
Posts: 244
Joined: Fri Oct 22, 2004 6:52 am

  • Quote

Post by Catch-22 » Sat Jan 07, 2006 2:26 pm

you could try downloading a portage snapshot and untarring it as if you're doing an install
Top
chy168
n00b
n00b
Posts: 70
Joined: Sat Mar 12, 2005 10:12 am

  • Quote

Post by chy168 » Sat Jan 07, 2006 5:03 pm

Catch-22 wrote:you could try downloading a portage snapshot and untarring it as if you're doing an install
Wow, it's work.
I download the portage snapshot from website. and untar it as my /usr/portage.
Now, I can emerge sync currently.

But, I have some curious about this:
I've tried remove all the file in /usr/portage and emerge sync.
what's the different from "removing /usr/portage and emerge sync" and "download a snapshot" ?


thank you very much .
Top
plasmagunman
l33t
l33t
User avatar
Posts: 604
Joined: Fri Jun 07, 2002 10:25 pm
Location: berlin

Re: can not sync, but my disk isn't full

  • Quote

Post by plasmagunman » Sat Jan 07, 2006 5:09 pm

chy168 wrote:I even delete all file in /usr/portage but in vain.
you deleted the entire /usr/portage-directory-subtree? then "emerge sync" cannot work, you have to do an

Code: Select all

emerge-webrsync
and an "emerge sync" afterwards.
Last edited by plasmagunman on Sat Jan 07, 2006 5:18 pm, edited 1 time in total.
please, feel free to correct my english. - por favor, corrige mi español.
Top
plasmagunman
l33t
l33t
User avatar
Posts: 604
Joined: Fri Jun 07, 2002 10:25 pm
Location: berlin

  • Quote

Post by plasmagunman » Sat Jan 07, 2006 5:17 pm

chy168 wrote:what's the different from "removing /usr/portage and emerge sync" and "download a snapshot" ?
"emerge sync" synchronizes your /usr/portage with the current one. for doing that you need an own /usr/portage.
downloading a snapshot (that's what "emerge-webrsync" does) doesn't need a valid /usr/portage.
please, feel free to correct my english. - por favor, corrige mi español.
Top
chy168
n00b
n00b
Posts: 70
Joined: Sat Mar 12, 2005 10:12 am

  • Quote

Post by chy168 » Sat Jan 07, 2006 5:30 pm

plasmagunman wrote:
chy168 wrote:what's the different from "removing /usr/portage and emerge sync" and "download a snapshot" ?
"emerge sync" synchronizes your /usr/portage with the current one. for doing that you need an own /usr/portage.
downloading a snapshot (that's what "emerge-webrsync" does) doesn't need a valid /usr/portage.
It's seem equal way between "download snapshot as /usr/portage" and "rm /usr/portage/* and emerge sync" ?

But I've tried these two way to fix my portage.

only "download snapshot as /usr/portage" works.
"rm /usr/portage/* and emerge sync" can not solve my problem.

It's let me so confused.


thank you very much :)
Top
plasmagunman
l33t
l33t
User avatar
Posts: 604
Joined: Fri Jun 07, 2002 10:25 pm
Location: berlin

  • Quote

Post by plasmagunman » Sat Jan 07, 2006 5:43 pm

okay, two ways:

Code: Select all

rm -r /usr/portage
emerge-webrsync
or

Code: Select all

emerge sync
emerge sync needs a populated /usr/portage. it compares the files you have with the files on the server and downloads only the ones you're missing. if you delete /usr/portage this comparison cannot work. on the other hand downloading a snapshot doesn't compare anything, so it doesn't matter if you have a /usr/portage or not.

btw, normally you should only do "emerge sync", don't delete anything in /usr/ by hand. emerge sync is wmuch faster than downloading a whole snapshot.
please, feel free to correct my english. - por favor, corrige mi español.
Top
d_m
Guru
Guru
User avatar
Posts: 570
Joined: Thu Jun 12, 2003 3:53 pm
Location: Philadelphia, PA, USA
Contact:
Contact d_m
Website

  • Quote

Post by d_m » Sat Jan 07, 2006 6:51 pm

Also, can you post the output of: "df -h"? Just to be safe.
The name that can be named is not the eternal name.
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Sat Jan 07, 2006 8:12 pm

You can only have one entry in the SYNC variable.
Top
chy168
n00b
n00b
Posts: 70
Joined: Sat Mar 12, 2005 10:12 am

  • Quote

Post by chy168 » Sun Jan 08, 2006 12:59 am

thanks you all, I'm clearly about that now.
But I still have some problem. :oops:

Because I have tried these two ways:
1.

Code: Select all

rm -r /usr/portage/
emerge-webrsync
and
2.

Code: Select all

rm -r /usr/portage/*  (leave portage dir empty)
emerge sync
in "way 2".
Because I deleted all the file in portage dir.
From plasmagunman said "if you delete /usr/portage this comparison cannot work."

Did emerge won't download all the portage tree because I delete it (I lose all the files) ?

I've tried deleted all the files in /usr/portage before.
and run

Code: Select all

emerge sync
it's seem emerge will download(rebuild) the portage tree to /usr/portage?


thank you very very much. :D
Top
chy168
n00b
n00b
Posts: 70
Joined: Sat Mar 12, 2005 10:12 am

  • Quote

Post by chy168 » Sun Jan 08, 2006 1:03 am

d_m wrote:Also, can you post the output of: "df -h"? Just to be safe.
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 9.4G 1.6G 7.9G 17% /
udev 61M 92K 61M 1% /dev
/dev/hda5 42G 30G 9.6G 76% /home
/dev/hda7 4.7G 840M 3.9G 18% /var
none 61M 0 61M 0% /dev/shm

From my the original post.

Code: Select all

!!! Rsync has reported that there is a File IO error. Normally
!!! this means your disk is full, but can be caused by corruption
!!! on the filesystem that contains PORTDIR. Please investigate
!!! and try again after the problem has been fixed.
!!! PORTDIR=/usr/portage
but my disk is not full. Maybe it's a emerge bug ?
Top
chy168
n00b
n00b
Posts: 70
Joined: Sat Mar 12, 2005 10:12 am

  • Quote

Post by chy168 » Sun Jan 08, 2006 1:05 am

Genone wrote:You can only have one entry in the SYNC variable.
Ok, I have only one entry in the SYNC variable now.

But, why did I just have only one ?
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Sun Jan 08, 2006 2:38 am

chy168 wrote:
Genone wrote:You can only have one entry in the SYNC variable.
Ok, I have only one entry in the SYNC variable now.

But, why did I just have only one ?
Do you mean why you can only have one or why did you have two?
For the first, what should two entries accomplish?
The second you'll have to answer yourself.
Top
chy168
n00b
n00b
Posts: 70
Joined: Sat Mar 12, 2005 10:12 am

  • Quote

Post by chy168 » Sun Jan 08, 2006 5:00 am

Genone wrote:
chy168 wrote:
Genone wrote:You can only have one entry in the SYNC variable.
Ok, I have only one entry in the SYNC variable now.

But, why did I just have only one ?
Do you mean why you can only have one or why did you have two?
For the first, what should two entries accomplish?
The second you'll have to answer yourself.
I think my question is the first one.

Because I consider you have another meaning about "have only one SYNC" before.

I think I know what's your meaning. :)
Thank you for the answer.
Top
Post Reply

21 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy