I have two hard drives one with os(ubuntu) and other just etc4 formatted. I want to store my database on this second hard drive. I tried searching online but there are very few resources online. It will be really helpful if someone can tell me how to do it.
closed as off-topic by Dennis Kaarsemaker, kasperd, Jenny D, Jacob, DKNUCKLES Jun 5 '14 at 13:31
This question appears to be off-topic. The users who voted to close gave this specific reason:
I'm guessing that you failed to find any help online because you really don't know what you're doing so here's some clues
I don't know much (anything) about db2 but I found this document that'll probably be useful to youm, note how the author supplies a location for their database when creating it
I hope this puts you on the right path.