Problem with /app


 
Thread Tools Search this Thread
Operating Systems Solaris Problem with /app
# 8  
Old 11-02-2012
only one, for the moment..A new order has been dispatched in order to have other 2 disk...When they'll arrive i ll try to redudant each disk.
So, to sum up the better solution for now is :
- Add a new disk to root rpool in order to increase space;
- Redudant disk when new disks will come;

For that second issue is there a simple command as the one you gave me to add a new disk, to redudand the data on new disks?

And do have i to eliminate currently pool mounted on second disk in order to add it to the root pool ?(i have a pool named pool1 on the second disk, do i have to eliminate it and then add second disk to the root pool?)

thanks
# 9  
Old 11-02-2012
To create a mirror using the new disk, use:

Code:
zpool attach rpool existingdevice newdevice

# 10  
Old 11-02-2012
This is a bad practice.
You don't put databases (or anything) in root pool (or volume group for that matter).

What you need to do is

1. Create a new zpool with at least 2 mirrored disks (or without protection if you have FC disks which have redudancy on storage side).
2. Create zfs filesystem inside it.
3. Plan for downtime.
4. Using send - receive migrate the data to new zfs filesystem.
5. Profit.

Depends on your layout, you might even destroy the old zfs filesystem (mounted on /app) and mount the new (migrated) one on same location.

Be sure to test the send - receive before removing anything.
Exercise caution with zfs/zpool destroy command, since there is no 'Are you sure' questions.

Hope that helps.

Regards.
Peasant.
# 11  
Old 11-02-2012
thanks heargp and peasent for your support,

the situation it's clear but for now i cannot operate in this way because i don't have many disks but only a primary disk, a secondary disk (on witch exist a zfs pool) and an external hd.
So this is the plan i have in mind according with all of your advices and tips, tell me if it can be a TEMPORANY patch for that situation :
1) Move all the content of the secondary disk to the external usb drive;
2) Expand the space of the root pool on the primary disk with zpool add command
3) Once more space has been added to the root pool, set a reservation for the root pool

Question_1) Can this plan be good enough as temporany solution?
Question_2) Between 1 and 2, have i to eliminate the pool i have setted on secondary disk?

thanks to all Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Programming

Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App

With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here: ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies

2. Solaris

Problem building app

trying to run IPERF and i've downloaded and installed and screwed around with my path to get compilers and such available... log in as myself, go to /iperf-2.0.4 switch to su run ./configure seems to go fine, couple of no's but based on previous runs it seems to be ok... do make it goes... (3 Replies)
Discussion started by: jrich523
3 Replies

3. Red Hat

userid with nothing to do on the os/app

Hi All, I got this userid apache with the same userid and groupid and /sbin/nologin and the /www/a home folder is empty. Can I just delete this userid? How can I investigate if userid have something to do with the application? Thanks for any comment you may add. (1 Reply)
Discussion started by: itik
1 Replies

4. UNIX for Advanced & Expert Users

Cygwin <--> CMD App Problem (Terminal Type?)

I'm not sure if this is the right place to post this, but here it is. We have a nightly process that runs on an HP-UX box to stop our application and backend database servers, unmount their SAN hosted file systems, and then snapshot the SAN LUNs for backup and refresh of data on "report" and... (1 Reply)
Discussion started by: deckard
1 Replies

5. Programming

Deadlocked App

Hello All - We have a legacy C program running non stop on one of our servers, with several instances often running at once. Fairly regularly, one of the instances while stop outputting to the log file and will just deadlock/hang. They must be then 'kill'ed by myself. When I gdb into one of... (3 Replies)
Discussion started by: markanderson
3 Replies

6. UNIX for Dummies Questions & Answers

mail problem (NOT Mail or Mail.app)

When I try to use the CLI mail, I get the following error. What's wrong? Welcome to Darwin! % mail root Subject: test test . EOT % /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies
Login or Register to Ask a Question