public inbox for gentoo-user-br@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel da Veiga <danieldaveiga@gmail.com>
To: gentoo-user-br@lists.gentoo.org
Subject: Re: [gentoo-user-br] Cópia de um sistema para outro HD
Date: Fri, 5 Aug 2011 12:48:34 -0300	[thread overview]
Message-ID: <CACkLHGgF31k18Rndb5Z-P5_mKb6vEf7ARWoaMN3eANtYGNbxWg@mail.gmail.com> (raw)
In-Reply-To: <CAPQRN=V4NQU7jzJnL8SNMVg7Fn5YJWYr9rc+c4r=m1zY9svHsA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1235 bytes --]

2011/8/5 Raphael Bastos <tecnologia@bastosservice.com.br>

> Na verdade não há problema nenhum em cópia de discos com tamanhos
> diferentes, bastando após a cópia tu redimensionar a partição via
> gparted, ou até mesmo o partition magic do windão.
> Ex 1:
> cenário: disco origem de 20GB e destino de 30GB
> resultado após usar o dd: 10GB livres no disco destino.
>
> Ex 2:
> cenário: disco origem de 30GB e destino de 20GB
> resultado após usar o dd: se na origem tiver 15GB livres, o disco
> destino terá seus 15GB preenchidos, e 15GB livres.
>
>
Mas aí não estamos falando de dd certo?

Estou teorizando aqui, mas numa cópia bit a bit o tamanho das partições vai
junto com o resto, e além disso, a cópia não sabe o quanto está preenchido
(ou se é uma partição, ou se está particionado, nada...) e vai simplesmente
copiando, até dar erro de falta de espaço em disco. Quando isso acontecer,
se o sistema de arquivos estiver fragmentado, pode ocorrer perda de dados e
eu imagino que a partição se tornaria inútil (pois ela não termina em um
setor do disco disponível)...

Posso estar errado (nunca testei isso na prática, exatamente pq imaginei que
o que descrevi acima aconteceria).

-- 
Daniel da Veiga

[-- Attachment #2: Type: text/html, Size: 1516 bytes --]

  reply	other threads:[~2011-08-05 15:48 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02  3:39 [gentoo-user-br] Cópia de um sistema para outro HD Raphael MD
2011-08-02 12:03 ` Fernando Boaglio
2011-08-02 12:21   ` Anlinx Soluções na Internet
2011-08-02 13:18     ` Raphael MD
2011-08-02 13:31 ` Naira Kaieski
2011-08-02 13:35   ` Naira Kaieski
2011-08-02 13:56     ` Raphael MD
2011-08-02 14:54       ` Daniel da Veiga
2011-08-05 11:32 ` Zhu Sha Zang
2011-08-05 13:29   ` André
2011-08-05 14:22     ` Raphael Bastos
2011-08-05 14:41       ` Daniel da Veiga
2011-08-05 14:45         ` Raphael Bastos
2011-08-05 14:58           ` Daniel da Veiga
2011-08-05 14:57         ` Fernando Boaglio
2011-08-05 14:59           ` Daniel da Veiga
2011-08-05 15:04           ` Raphael Bastos
2011-08-05 15:48             ` Daniel da Veiga [this message]
2011-08-05 16:23               ` Raphael Bastos
2011-08-05 15:54             ` Raphael MD
2011-08-05 16:06               ` Daniel da Veiga
2011-08-05 16:15                 ` Leonardo Guilherme
  -- strict thread matches above, loose matches on Subject: below --
2011-08-05 21:50 Raphael MD
2011-08-06  1:36 ` Leonardo Guilherme
2011-08-07 19:04 Raphael MD
2011-08-07 19:33 ` Leonardo Guilherme
2011-08-07 21:45 ` Naira Kaieski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACkLHGgF31k18Rndb5Z-P5_mKb6vEf7ARWoaMN3eANtYGNbxWg@mail.gmail.com \
    --to=danieldaveiga@gmail.com \
    --cc=gentoo-user-br@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox