Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Partition/mkfs] changer la taille d'un systeme de fichier
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
traaf
n00b
n00b


Joined: 05 Sep 2006
Posts: 17

PostPosted: Mon Mar 12, 2007 1:11 pm    Post subject: [Partition/mkfs] changer la taille d'un systeme de fichier Reply with quote

Salut

j'ai recopié ma partition racine de gentoo (reiserfs) de 6GO avec
Code:
dd if=/dev/hda4 of=/mnt/data/dump.gentoo


j'ai pu ainsi supprimer la partition augmenter l'espace pour la gentoo (passant de 6 à 15 GO)

ensuite, je recopie le dump sur la partition
Code:
dd if=/mnt/data/dump.gentoo of=/mnt/hda4


et la ca coince, la partition fait bien 15GO, mais le systeme de fichier est resté a 6GO, du coup je n'ai même pas d'espace supplémentaire 8O

Y a t'il un moyen de changer la taille du systeme de fichier pour qu'elle soit identique a la taille de la partition, sans perdre les données ?

PS : réponse non urgente, :D pour l'instant j'ai contourné en reformatant la partition, et en copiant les fichier apres avoir monté le dump.gentoo en loop


Last edited by traaf on Mon Mar 12, 2007 5:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Mon Mar 12, 2007 1:27 pm    Post subject: Reply with quote

Tu as regardé du côté de resize_reiserfs ?? :wink:
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
traaf
n00b
n00b


Joined: 05 Sep 2006
Posts: 17

PostPosted: Mon Mar 12, 2007 6:03 pm    Post subject: Reply with quote

merci
ca aurait peut-être pu convenir, en effet
Quote:
If the -s option is not specified, the filesystem will be resized to fill the given device


mais rien au sujet du contenu du système de fichier
ca se pratique sur un système vierge ? ou ca peut se faire sur un systeme contenant des données
Back to top
View user's profile Send private message
ptah
n00b
n00b


Joined: 03 Mar 2007
Posts: 65

PostPosted: Mon Mar 12, 2007 8:31 pm    Post subject: Reply with quote

Salut,

Dans le man :
Quote:
Otherwise, the resize operation will certainly not work, and you may lose your entire filesystem.


Perdre un filesystem c'est quand on a quelque chose dessus, sinon, ça n'a pas de sens....
En plus si ça se faisait sur une partition vierge quel en serait l'intérêt ?

Je pense que resize_reiserfs existe dans ce but :) Sinon pourquoi l'avoir inventé :)

My 2 copecs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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