Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[minimal cd x86]non produce file grossi[smentito]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4795
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Mon Jan 22, 2007 1:59 pm    Post subject: [minimal cd x86]non produce file grossi[smentito] Reply with quote

probabilmente questo topic andrebbe incollato su quello dei cd di installazione di gentoo che tempo fa era conservato sticky.
ma non sono riuscito a trovarlo con una ricerca.

volevo installare un linux per un amico su un portatile, con il classico windows mangia HD da ridimensionare, e desideravo effettuare prima un backup.
ho preso la macchina con il cd minimal, ho configurato la rete locale, ho montato in nfs una partizione remota abbastanza grande e ho provato a copiare l'hd locale (del laptop) con questo comando:
Code:

cat /dev/hda1 >/path/to/remote_nfs

si è stampato dopo 2,6G con un errore (suppongo causa limite di dimensione massima del singolo file).
non mi sono ricordato di fare una prova con dd, ma temo (smentitemi eventualmente) che avrei avuto lo stesso risultato.

non credo che il problema sia sul server remoto, in quanto, montando la partizione nfs su un mount-point locale otetngo file grandi quanto mi pare.

deduco che, credibilmente, il minimal cd non è stato compilato con la cflag -D_FILE_OFFSET_BITS=64 .

vorrei sapere se avrei potuto ottenere lo stesso risultato in un altro modo o se non sia questo un difetto da segnalare su bugzilla (farei la segnalazione solo se mi dite che ha senso).
_________________
vu vu vu
gentù
mi piaci tu


Last edited by cloc3 on Tue Jan 23, 2007 12:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Jan 22, 2007 2:02 pm    Post subject: Reply with quote

:twisted:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Mon Feb 23, 2009 9:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4795
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Mon Jan 22, 2007 2:53 pm    Post subject: Reply with quote

djinnZ wrote:
dd if=// of=///
o meglio ddrescue ma per un hd dovrebbe andare, mai avuti problemi.

scusa se ti faccio ripetere per conferma:
quindi hai provato con il cd minimal x86 e non hai avuto problemi?
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Jan 22, 2007 4:01 pm    Post subject: Reply with quote

:twisted:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Mon Feb 23, 2009 9:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Mon Jan 22, 2007 4:31 pm    Post subject: Reply with quote

puoi evitare anche nfs, in caso.
dall'host "backup":
Code:
ssh livecd "dd if=/dev/hda1" > hda1.img
oppure
ssh livecd "dd if=/dev/hda1 | gzip" > hda1.img.gz

ps
su hw non obsoleto, il collo di bottiglia è la rete.
_________________
When all else fails, read the instructions.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4795
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Mon Jan 22, 2007 4:41 pm    Post subject: Reply with quote

djinnZ wrote:
si ma non per partizioni enormi (~512MB)

se dici questo non metto risolto e attendo qualche altro intervento.

credo che il problema dipenda non da cat, ma dalla cflag di compilazione. il problema infatti, non è nuovo. il limite dovrebbe essere intorno ai due gighi e mezzo, proprio come è capitato a me.

dd e cat appartengono entrambi alle coreutils. difficile pensare che non condividano il comportamento.
altre volte, con partizioni piccole, ho usato felicemente cat.

appena ho tempo controllerò se il cd minimal possiede ddrescue.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Jan 22, 2007 4:49 pm    Post subject: Reply with quote

:twisted:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Mon Feb 23, 2009 9:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4795
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Jan 23, 2007 12:38 pm    Post subject: Reply with quote

oggi ho riprovato nelle stesse condizioni di ieri.
solo il computer era diverso (più vecchio).

nessun problema di size limit nè con cat, nè con dd, nè via nfs nè via ssh.

risulta verificata la legge di Murphy del traffico di rete:

cloc3 wrote:

un backup via net si pianta misteriosamente solo ed esclusivamente quando serve davvero.

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Jan 23, 2007 1:28 pm    Post subject: Reply with quote

:twisted:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Mon Feb 23, 2009 9:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4795
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Jan 23, 2007 2:21 pm    Post subject: Reply with quote

djinnZ wrote:
cloc3 wrote:
solo il computer era diverso (più vecchio).


Credo che ti sei dato da solo la risposta. Computer vecchio=più lento

alto là. il computer più lento era quello che funzionava :D.

forse è stato un vero e proprio difetto dell'hd. ma avevo poco tempo e (probabilmente) pochi mezzi per verificare.
soprattutto, non ho potuto vedere due volte se l'errore era ripetibile e ne ho rubricato la causa con troppa fretta.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum