[Voyage-linux] MySQL

Gustin Johnson (spam-protected)
Thu May 7 19:08:55 HKT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Rawlins - Think Blue wrote:
> Hi Rainer,
> 
> This is something we have talked about in the past but I have not tried to
> do it yet. I've never worked with multiple partitions in Linux before. I
> like this idea very much.
> 
This is nothing new.  There is a lot of documentation out there.
Basically, you create the partition, then format it, then add an entry
in /etc/fstab so that it is mounted on boot.

> Do you have any advice on how to create this second partition? And how I can

I use cfdisk, but my main environment is Linux.  You may wish to RTFM
partitioning under Linux.  It is easy to turf an existing partition
regardless of the OS you are using.

> write files to it? Are there any gotchas I need to watch out for? We're

Once mounted, the new partition appears as another folder on your file
system.  You write files to it like you would any other folder.

> currently creating our disks using the Live CD. I assume this is where I
> create the second partition?

Sure.  You could also do it from within voyage, assuming that there is
free space to partition.
> 
> Also, do you know if this second partition included in a disk replication
> using DD?
> 
If you dd the whole disk (eg. /dev/sda), then yes all partitions are
preserved in the resulting image.  If you want to carve out one of these
partitions from the resulting single image, things can get complicated
(I had to do it once, I documented this here:
http://meganerd.ca/site/node/11).  A better solution in this case is to
dd each partition individually (eg. /dev/sda1 and /dev/sda2).  An even
better solution is to use partimage.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKAsFHwRXgH3rKGfMRAg80AKCgUeMKH8siiMHcPD/ZT4LmcxlrmgCfcrsp
+TdysYMhRf+wc0MrCXBcZs0=
=IKL0
-----END PGP SIGNATURE-----




More information about the Voyage-linux mailing list