Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
da reiserfs a EXT3
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
fatez
Apprentice
Apprentice


Joined: 07 May 2003
Posts: 295

PostPosted: Tue Jul 15, 2003 4:54 pm    Post subject: da reiserfs a EXT3 Reply with quote

Ciao ragazzi,
è possbile convertire una partizione reiserfs in EXT3 senza perdere i dati ?

Code:

tune2fs -j /dev/hda3


Dovrebbe essere correto questo no?
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Tue Jul 15, 2003 5:11 pm    Post subject: Re: da reiserfs a EXT3 Reply with quote

fatez wrote:
Ciao ragazzi,
è possbile convertire una partizione reiserfs in EXT3 senza perdere i dati ?

Code:

tune2fs -j /dev/hda3


Dovrebbe essere correto questo no?

Non è per niente corretto che io sappia, tune2fs infatti opera solo su ext2.

Che io sappia non c'è un metodo "diretto" per operare la conversione, mi sa che l'unico modo è trasferire via i files, formattare in ext3 e pomparci dentro i files nuovamente.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
fatez
Apprentice
Apprentice


Joined: 07 May 2003
Posts: 295

PostPosted: Tue Jul 15, 2003 5:14 pm    Post subject: Reply with quote

eh.. ma li ci sta il sistema operativo
...

copiando i file. di sicuro si perdono i peremessi o succede qualcosa
Back to top
View user's profile Send private message
Benve
l33t
l33t


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Tue Jul 15, 2003 5:18 pm    Post subject: Reply with quote

fatez wrote:
eh.. ma li ci sta il sistema operativo
...

copiando i file. di sicuro si perdono i peremessi o succede qualcosa


Io ho copiato tutta /usr circa 6 mesi fa e fino ad ora non a dato problemi
Ho usato cp -a
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Tue Jul 15, 2003 5:29 pm    Post subject: Reply with quote

fatez wrote:
eh.. ma li ci sta il sistema operativo
...

copiando i file. di sicuro si perdono i peremessi o succede qualcosa

Non vedo perché dovresti perdere i permessi, se fai un backup mica perdi i permessi. Nota che il "sistema operativo" è fatto di files anche lui...

Dai un'occhiata a questo post. Ignora la via originale, come noterai è abbastanza pericolosa, ma il post che ti indico (e i consigli sotto) presentano una possibilità perfettamente sicura.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30906
Location: here

PostPosted: Tue Jul 15, 2003 5:50 pm    Post subject: Reply with quote

fatez wrote:
eh.. ma li ci sta il sistema operativo
...

copiando i file. di sicuro si perdono i peremessi o succede qualcosa

Per tenere immutati i permessi esiste l'opzione -p.
Facendo:
Code:
cp -p

i permessi vengono mantenuti.[/quote]
Back to top
View user's profile Send private message
fatez
Apprentice
Apprentice


Joined: 07 May 2003
Posts: 295

PostPosted: Tue Jul 15, 2003 5:59 pm    Post subject: Reply with quote

forse la soluzione migliore è la cp -a

Code:

-a, --archive
              Preserve  as much as possible of the structure and attributes of the original files in the copy (but do not preserve directory struc-
              ture).  Equivalent to -dpR.

Back to top
View user's profile Send private message
fatez
Apprentice
Apprentice


Joined: 07 May 2003
Posts: 295

PostPosted: Tue Jul 15, 2003 6:52 pm    Post subject: Reply with quote

Domanda,
ma se io facessi

Code:

 tar -cvzpf /mnt/place_to_put/your_backup.tar.gz *


senza bottare dal livecd? non avrei problemi con /proc o di qualche altra natura?
Back to top
View user's profile Send private message
doom.it
Guru
Guru


Joined: 23 May 2003
Posts: 430
Location: Pavia, Italy

PostPosted: Tue Jul 15, 2003 6:52 pm    Post subject: Reply with quote

confermo, ho da poco effettuato upgrade di disco:
anzitutto ho attaccato il disco nuovo al posto del lettore cd (non ho piu slot IDE liberi ;) ), poi ho partizionato il disco usando lo stesso schema di prima, formattato, montato le nuove partizioni di / /boot /home in cose tipo /mnt/newroot /mnt/newboot /mnt/newhome, fatto un
Code:

cp -a / /mnt/newroot && cp -a /boot /newboot && cp -a /home /newhome


poi staccato l'HD vecchio, e attaccato quello nuovo al posto del vecchio (nel mio caso era hdb)....ed è andato tutto liscio come l'olio ;)

Provate a farlo con windows, e poi ditemi come funziona l'installazione sul nuovo disco :roll: :wink:
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Tue Jul 15, 2003 6:58 pm    Post subject: Reply with quote

fatez wrote:
Domanda,
ma se io facessi

Code:

 tar -cvzpf /mnt/place_to_put/your_backup.tar.gz *


senza bottare dal livecd? non avrei problemi con /proc o di qualche altra natura?

E con /dev probabilmente.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Wed Jul 16, 2003 3:08 pm    Post subject: Reply with quote

tune2fs supporta anche ext3 (con l'opzione -j/-J setti il journaling).
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Wed Jul 16, 2003 3:36 pm    Post subject: Reply with quote

cerri wrote:
tune2fs supporta anche ext3 (con l'opzione -j/-J setti il journaling).


Si, ma credo si riferisse al fatto che non opera su Reiser, non converte ext2 in Reiser. L'opzione -j di tune2fs l'ho usata un po' di volte in passato :D
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Wed Jul 16, 2003 3:36 pm    Post subject: Reply with quote

cerri wrote:
tune2fs supporta anche ext3 (con l'opzione -j/-J setti il journaling).

Lui vuole convertire da reiserfs.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
fatez
Apprentice
Apprentice


Joined: 07 May 2003
Posts: 295

PostPosted: Wed Jul 16, 2003 4:54 pm    Post subject: Reply with quote

Si infatti, io ho una partizione reiserfs dove vi è il sistema operativo,.. e mi piacerebbe poterlo convertire in ext3
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Wed Jul 16, 2003 4:58 pm    Post subject: Reply with quote

fatez wrote:
Si infatti, io ho una partizione reiserfs dove vi è il sistema operativo,.. e mi piacerebbe poterlo convertire in ext3

L'unico metodo affidabile di cui sono a conoscenza è quello spiegato, spostare il contenuto del vecchio filesystem nel nuovo filesystem dopo averlo salvato da qualche parte.

CMQ per quale motivo vuoi effettuare questo cambiamento da reiserfs a ext3?
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
fatez
Apprentice
Apprentice


Joined: 07 May 2003
Posts: 295

PostPosted: Wed Jul 16, 2003 10:19 pm    Post subject: Reply with quote

ahem.. mi vergogno un po ehhe

allora.. dopo mesi di sbattimento finalmente trovo un utility valido e funzionale quale norton ghost. Metto il floppy, in 15 minuti e dico 15, ho esattamente il sistema operativo su cd auto bootable, perfettamente funzionante. ( mi ha salvato il cuxlo una volta, quindi so di percerto che funziona a meraviglia).
[ ho lottato per 8 mesi circa per fare andare mondo-rescue ma nulla.. ].

Come detto prima funziona a meraviglia con partizioni ext3, infatti su questo pc ho una partizione con l'os in ext3 di 12Gb, pieno solamente per 1,3Gb. Ora, ghost riconosce lo spazio vuoto e non me lo include nel cd. Ma provandoci con reiserfs(server) le cose cambiano.. infatti vorrebbe farmi un back-up di 12gb.. eheh

:roll:
Back to top
View user's profile Send private message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Thu Jul 17, 2003 1:43 am    Post subject: Reply with quote

Quindi il ghost va con il fs in ext3? Buono a sapersi...Peccato che io abbia il fs in reiserfs :lol:
_________________
~~ Per amore della rosa si sopportano le spine... ~~
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Thu Jul 17, 2003 6:08 am    Post subject: Reply with quote

bsolar wrote:
Lui vuole convertire da reiserfs.

ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
Legolas80
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2003
Posts: 128

PostPosted: Thu Jul 17, 2003 7:35 am    Post subject: Reply with quote

Perchè non dai un'occhiata qui: http://www.partimage.org
Back to top
View user's profile Send private message
fatez
Apprentice
Apprentice


Joined: 07 May 2003
Posts: 295

PostPosted: Sat Jul 19, 2003 12:58 pm    Post subject: Reply with quote

Bon ragazzi, ho fatto 2 prove, una con il tar e una con cp -av e fungono entrambe :) meglio no?
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