On Dec 30 2006 15:02, Bart Geesink wrote:
>On Saturday 30 December 2006 14:05, Jan Kalcic wrote:
>> Hi All,
>>
>> I'm working with a virtual machine and suddenly I realized I have no
>> more space on root. Then I create a bigger disk file and I copied the
>> old one to the new one using dd. The problem is that now I see the right
Beep. Don't copy using dd-style unless you exactly want that. Instead,
create a new disk label on the new disk, with the new sizes you want
(all some or greater as the old), and copy on a per-partition basis.
That actually leaves room for fs expansion.
>> size of the new (bigger) hard disk through YaST and fdisk but actually I
>> can use only the space I had in the old hard disk (when I use df for
>> instance)
>>
>> Any idea to solve this problem?
>
>You can do two things: Either you can make your filesystem bigger, if it is
>supported by your filesystem (for instance for reiserfs you could use
>resize_reiserfs). Or you could make a new "disk file" format it with a
>filesystem of your choice, have both the old and the new "disk files" mounted
>as loop devices, and copy all contents over.
-`J'
--
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]