02-12-2010
Here is a suggestion with a minimal downtime:
- Shutdown the zones
- Create a snapshot of the /Npbsunh2 filesystem. Depending on which filesystem type you use, this is done with one of "zfs snapshot pool/npbsunh@before" or "fssnap ..." or "mount -F vxfs -o snapof=/dev/... /dev/... /mnt".
- Reboot the zones
- Copy the snapshot to the new filesystem "cp -RP <snapshot> <new>"
- Shutdown the zones
- Unmount the old filesystem and mount the new filesystem instead
- Reboot the zones
6 More Discussions You Might Find Interesting
1. Solaris
Using Solaris 10 with Veritas Storage Foundation running. I want to copy all contents from DISKA LUN1 to DISKB LUN2. What would be the command syntax to do this? (0 Replies)
Discussion started by: soupbone38
0 Replies
2. Solaris
Hi,
I have configured our SAN Storage to be connected to our new SUN T5220.
On the SAn it looks all fine
on the server I do not see any connection:
cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c1 scsi-bus connected ... (4 Replies)
Discussion started by: manni2
4 Replies
3. UNIX and Linux Applications
Hi,
i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers.
Where you can read how to do it? Or can tell me how to do it?
Thanks.
P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies
4. Solaris
Hi all,
I'm in a situation which i need to understand the best way of doing a migration of storage involved in a zone.Elements involved are solaris 10 (Generic_144488-08), metasets. I need to provision more storage to the said non-global zone and not aware of the "best practices" from the ... (2 Replies)
Discussion started by: ossupport55
2 Replies
5. Solaris
Hi All
Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies
6. Hardware
Hello,
We are considering storage migration for RAC database servers(using ASM) from VMAX to VNX?
Any good/bad pointers in this regards please.
Best regards,
Vishal (1 Reply)
Discussion started by: admin_db
1 Replies
LEARN ABOUT SUNOS
xfs_freeze
xfs_freeze(8) System Manager's Manual xfs_freeze(8)
NAME
xfs_freeze - suspend access to an XFS filesystem
SYNOPSIS
xfs_freeze -f | -u mount-point
DESCRIPTION
xfs_freeze suspends and resumes access to an XFS filesystem (see xfs(5)).
xfs_freeze halts new access to the filesystem and creates a stable image on disk. xfs_freeze is intended to be used with volume managers
and hardware RAID devices that support the creation of snapshots.
The mount-point argument is the pathname of the directory where the filesystem is mounted. The filesystem must be mounted to be frozen
(see mount(8)).
The -f flag requests the specified XFS filesystem to be frozen from new modifications. When this is selected, all ongoing transactions in
the filesystem are allowed to complete, new write system calls are halted, other calls which modify the filesystem are halted, and all
dirty data, metadata, and log information are written to disk. Any process attempting to write to the frozen filesystem will block waiting
for the filesystem to be unfrozen.
Note that even after freezing, the on-disk filesystem can contain information on files that are still in the process of unlinking. These
files will not be unlinked until the filesystem is unfrozen or a clean mount of the snapshot is complete.
The -u flag is used to un-freeze the filesystem and allow operations to continue. Any filesystem modifications that were blocked by the
freeze are unblocked and allowed to complete.
One of -f or -u must be supplied to xfs_freeze.
NOTES
A copy of a frozen XFS filesystem will usually have the same universally unique identifier (UUID) as the original, and thus may be pre-
vented from being mounted. The XFS nouuid mount option can be used to circumvent this issue.
In Linux kernel version 2.6.29, the interface which XFS uses to freeze and unfreeze was elevated to the VFS, so that this tool can now be
used on many other Linux filesystems.
SEE ALSO
xfs(5), lvm(8), mount(8).
xfs_freeze(8)