VMware Cloud Community
al8
Contributor
Contributor

Mysql on VM

I have Mysql database installed on red hat linux 5 VM and need to create image file.

How do I create 25 GB image file to store Mysql data and log files, each in separate disk partition?

5 gig will be for log files and will be mounted at /home/mysql/logs.

20 gig will be for data files and will be mounted at /home/mysql/data.

Reply
0 Kudos
9 Replies
E_A_
Enthusiast
Enthusiast

Hi Al8

Are you asking how to add two new virtual disks?

E.A.

______________________________________________

you do not really understand something

unless you can explain it to your grandmother

(Albert Einstein)

E.A. ______________________________________________ you do not really understand something unless you can explain it to your grandmother (Albert Einstein)
Reply
0 Kudos
al8
Contributor
Contributor

Hi E.A.,

Yes, how would you add two new virtual disks ?

Thanks.

Al8

Reply
0 Kudos
mcowger
Immortal
Immortal

Shutdown the VM, clock Edit Virtual Machine Settings.

--Matt

--Matt VCDX #52 blog.cowger.us
Reply
0 Kudos
E_A_
Enthusiast
Enthusiast

Edit VM configuration from VI client.

Add new virtual disk and follow the instructions

Repeat the task two time.

After that ... If you can reboot your VM if not take a look to

I hope this may help you.

bye

E.A.

______________________________________________

you do not really understand something

unless you can explain it to your grandmother

(Albert Einstein)

E.A. ______________________________________________ you do not really understand something unless you can explain it to your grandmother (Albert Einstein)
Reply
0 Kudos
E_A_
Enthusiast
Enthusiast

Hi mcowger

You can add virtual disks without shut down the VM

E.A.

______________________________________________

you do not really understand something

unless you can explain it to your grandmother

(Albert Einstein)

E.A. ______________________________________________ you do not really understand something unless you can explain it to your grandmother (Albert Einstein)
Reply
0 Kudos
mcowger
Immortal
Immortal

Indeed you can - didn't realize this

Good call!

--Matt

--Matt VCDX #52 blog.cowger.us
Reply
0 Kudos
al8
Contributor
Contributor

Okay, Thanks.

Reply
0 Kudos
al8
Contributor
Contributor

Thanks. Still need further observation and testing to see if set up requirements are met for my purpose.

Al8

Reply
0 Kudos
E_A_
Enthusiast
Enthusiast

Hi al8

what about your issue ?

E.A.

______________________________________________

you do not really understand something

unless you can explain it to your grandmother

(Albert Einstein)

E.A. ______________________________________________ you do not really understand something unless you can explain it to your grandmother (Albert Einstein)
Reply
0 Kudos