because of disk space problem my root is almost full..The root is mounted on rpool and i want to move /app on a new disk, is that possible without compromising any link?How can i do that?
I use solaris 10
Thank you in advance,
Matt
---------- Post updated at 04:36 PM ---------- Previous update was at 04:35 PM ----------
Quote:
Originally Posted by mattpunk
Hi folks,
because of disk space problem my root is almost full..The root is mounted on rpool and i want to move /app on a new disk, is that possible without compromising any link?How can i do that?
I use solaris 10
- create a new pool (mount it anywhere) with the new disk (2 disks if you want to mirror the /app directory)
- stop all processes which access /app
- dump the content of /app to the new pool
- rename /app to e.g. /app_old
- mount new pool on /app
- create a new pool (mount it anywhere) with the new disk (2 disks if you want to mirror the /app directory)
- stop all processes which access /app
- dump the content of /app to the new pool
- rename /app to e.g. /app_old
- mount new pool on /app
if everything works, delete /app_old...
Thank you Duke, i have some questions for you :
1) How can i dump the content of /app to new pool (let's call it pool2), with zfs send/receive?Or what else?
2)If i have created a new pool (let's say pool2), i have to mount it with zfs set mount point, correct?
I got the overall meaning but i'm not sure about the rigth command to perform, can u give me more details about it with an example and command?Thank you, your hel is much appreciate,
1) How can i dump the content of /app to new pool (let's call it pool2), with zfs send/receive?Or what else?
2)If i have created a new pool (let's say pool2), i have to mount it with zfs set mount point, correct?
---------- Post updated at 10:34 AM ---------- Previous update was at 10:22 AM ----------
Sorry accidently clicked when I was trying to hit TAB keys.
Anyway, if /app is on own ZFS, you can do zfs send/receive as below.
If /app is not in own ZFS, you need to create a new pool and zfs and copy using cp command.
So. My system have 2 solaris10 machine but system disk of machine 1 data crash.I bring the system disk of machine 1 install on machine2 for get data from disk machine1 but I can't mount disk. because msg is
bash-3.00# mount /dev/dsk/c1t3d0s0 /mnt
mount: /dev/dsk/c1t3d0s0 is not this fstype... (3 Replies)
Hi all,
i must add a new disk on a LPAR.
I've done all the HMC and VIOS Procedure to create a virtual host with disk and assign it to lpar.
I don't remember how i must do on the lpar to see this disk. (i use lvm not veritas).
Thanks in advance and sorry for my english.
Bye
Mario (2 Replies)
Hi Guy's
I have mount point called /app with size 10 GB from EMC SAN
/dev/dsk/emcpower2g 9.6G 9.8M 9.5G 1% /app
I have expanded the size from SAN level to be 20 GB
But the mount point still is showing 10 GB
Can anyone advice us how to can I expand the new space on /app... (4 Replies)
I am running Ubuntu Server, I recently added a new hard drive to the machine
When I run fdisk -l I see both drives.
The recently added drive is present but it's listed as extended.
when I try to mount the drive it says you must specify the file system type.
I can't mount this drive, I was... (2 Replies)
Hey there, sorry if this is a bit too much of a noob question, trying to get to grips with a simple bash script - but i have done ZERO bash scripting.
basically having worked out how to mount and unmount disks using:
disktool -m *device* & disktool -e *device*
- and looking at the result of... (2 Replies)
When a new disk is connected to a Mac/OSX, it automatically mounts on /Volumes.
Is it possible to manually mount it elsewhere?
For example, on "/raid"?
- m66 - (5 Replies)
Hi guys! I've just mounted my drive in fstab:
/dev/sdb /myfolder ext3 defaults 0 0
and rebooted linux.
I've got severel failers during booting process and also I can't login as root first time:
login: root
password:root
incorrect login
login:user
password: user
... (1 Reply)
Anyone,
I am trying to mount a second hard drive on a sunfire V120 w/solaris 5.8. I took this hard drive from another system because I deleted some files off that system and I want to mount it to another system so I can copy the file back onto the system. I really have no other means of... (2 Replies)
Hi, guys !
Could someone clarify one thing for me:
I start machine from disk0, and want to check the /etc/vfstab on disk1. How do i do it ?
Tried to write:
cd /
mount /dev/dsk/c0t1d0s0 /mnt
But if I do cd /mnt, it is empty. I expected to see disk1 there ? Or am I wrong ?
How do I... (3 Replies)
I have two Unix machines on the network and now one of them are running out of disk but i have alot on the other so i like to mount the disk (or a folder) from the one that has disk and mount it on the other that does not.
How do i do that? Is it possible i read the "man mount" but didn't really... (5 Replies)