i have a problem with my /app directory on solaris 10.It is mounted under rpool root and sometimes it increase dimension bringing root out of space.I want to mount /app under different position, maybe under secondary hardisk for which i have created a mount point with zfs pool...How can i mount /app under secondary disk using zpool?is it possible?are there any problems?
If /app is a part of rpool, then mounting it in a different location won't help you. If I understand you right, your rpool is running out if space from time to time.
What you can do, is set a reservation on the root filesystem. For example:
After this, the root Filesystem may grow up to 15G without interference from other datasets in the same pool.
You must find out the dataset name of the root filesystem for this:
i'll try to describe in a better way my situation..
I have my DB and other applications under /app that is mounted under root pool.
I wonder if there exists a way to migrate /app under different pool (maybe under one mounted on a secondary HD, i have already one pool of that kind!), or to stop/app increasing and stealing space from ROOT. Now i have about 1GB left on root!
hergp, the solution you have given to me is the second one, rigth?
Is there another way to add more space only for /app or for root pool by using the secondary disk for example?
You can add more disks to a pool with the zpool add command without service interruption. But as Peasant pointed out, make sure, all data is redundant.
You can also migrate a complete ZFS filesystem with zfs send and zfs receive. But for that you need some downtime.
You can add more disks to a pool with the zpool add command without service interruption. But as Peasant pointed out, make sure, all data is redundant.
You can also migrate a complete ZFS filesystem with zfs send and zfs receive. But for that you need some downtime.
Regarding the first solution, what do you mean for data redundant?In my situation i ll add the second disk to the Root pool, so that it can expand using second disk, is it correct?
How many disks does your rpool use currently? If the pool is defined on a single disk and this disk fails, your server is dead.
If the pool is created on a pair of disks for redundancy and you add a single disk., then one part of your data is redundant and the other is not, which makes the pool vulnerable to a single disk fault.
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)
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)
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)
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)
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)
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)