Still stuck at create zpool on USB drive to test archive
Hi DukeNuke2,
I have finally being able to create a recursive snapshot of all the filesystems using the following recommended command:
Where /mnt is the USB drive that is in UFS filesystem format. hostname_rpool@001.snapshot1 has been copied to /export/home and I need to get
the following guidance:
I am stuck in step ( ii ) and need confirmation on whether command in ( iii ) will work. Also like to confirm that compression has already been used
when creating the snapshot.
It's a very slow process and I can only do it with your valuable helps.
Thanks a lot,
George
You are not compressing anything in the described procedure.
Creating an intermediary file (hostname_rpool@001.snapshot1) is an unnecessary step, you could (and should) directly pipe the "zfs send" command to a "zfs receive" one.
You are destroying your USB file system by creating a zfs pool on the very same device. Assuming you have no free partition on your USB disk, You need to create a file based pool.
There are also specific options you need to use to import a root pool as otherwise, some of the properties, especially mount points, will collide with your current root pool.
Need advice on create zpool on USB drive & retrieve archive
Hi jlliagre,
I have finally being able to create a recursive snapshot of all the filesystems using the following recommended command:
Where /mnt is the USB drive that is in UFS filesystem format. hostname_rpool@001.snapshot1 has been copied to /export/home and I need to get the following guidance:
I am stuck in step ( ii ) and need confirmation on whether command in ( iii ) will work. Also like to confirm that compression has already been used
when creating the snapshot.
It's a very slow process and I can only do it with your valuable helps.
Thanks a lot,
George
Sorry for posting the same questions twice since I panicked at the thought that my update was lost without realizing that it was on the next page.
I have already destroyed the UFS filesystem on USB drive with the following result which is fine:
This is still going after running for more than 4hrs. My understanding is that this step will transfer a snapshot of all the data from local rpool & their datasets to backups zpool on USB drive. Is this correct? However, my intention has always been to create a snapshot of local rpool recursively into a single file with the following command:
Is this command correct and how to include compression in the process as well? Also, how to list toc of /export/home/hostname_rpool@001.zdump after successful creation?
Thanks so much again,
George
Moderator's Comments:
Please use the standard font!
Last edited by DukeNuke2; 02-14-2014 at 10:01 AM..
[QUOTE=gjackson123;302888413]
This is dubious, as I already wrote, you need specific options to import a root pool, at least a different root mountpoint.
Quote:
This is still going after running for more than 4hrs.
There are many factors that might affect the performance of such a command.
Quote:
My understanding is that this step will transfer a snapshot of all the data from local rpool & their datasets to backups zpool on USB drive. Is this correct?
Yes, but I suspect there will be errors because you'll end up with multiple file systems with the same mount point.
Quote:
However, my intention has always been to create a snapshot of local rpool recursively into a single file with the following command:
Is this command correct
No. If you want to create a file, just redirect zfs send to it. This is what the link to the documentation I posted does.
Quote:
and how to include compression in the process as well?
You might just pipe through gzip.
Quote:
Also, how to list toc of /export/home/hostname_rpool@001.zdump after successful creation?
There is no way I'm aware of to list the content of such a datastream, moreover, as it usually contains volumes and snapshot, it won't be as stratforward as with a tar or cpio of ufsdump.
The only way to make sure a stored datastream is valid and list the files it contains is to extract (receive) it somewhere.
I tried to boot up the local Solaris 10 x86 operating system instead of from installation disk all along but encountered the following error:
The bootup process is running ‘zfs mount –a’ which generates the same error when running it manually (cannot mount ‘/export’: directory is not empty), but I don’t know which table (/etc/.../*tab?) that it is looking up to get ‘/export’ and yet I can see this filesystem has already been mounted using ‘df –h’ as follows:
So I don’t understand where the issue is with mount /export which is preventing the system from booting into multi-user mode.
Not only have I not being able to create a zfs snapshot but appears to have disturbed possibly original mount point of local rpool as well.
Any idea on what to do?
Once again, I can only fix this issue with your persistent urgent advice.
Also, can I continue to generate zfs snapshot with zfs send -R -p rpool@001 > /mnt/usbdrive/hostname_rpool@001 once the system is running in multi-user mode? ie rpool is mounted.
Thanks in advance,
George
Moderator's Comments:
Use the standard font!
Last edited by DukeNuke2; 02-15-2014 at 07:53 PM..
I have noticed that when I copy files to flash disk and in UI I see message copy completed in notification area on task bar, usually copy is not completed. So, if I eject the media I loose data.
It is very serious problem because may cause loss of valuable and even critical data.
Moreover, when... (2 Replies)
Hi Guys
I have one Global Zone and 2 non-global zones.
root@solar109
# zoneadm list -icv
ID NAME STATUS PATH BRAND IP
0 global running / native shared
20 solar109b running ... (1 Reply)
Hi,
I want to take backup of files older than 20 days from a directory onto a tape drive on remote machine on Solaris.
The files are of format abc-20100301000000.gz on my local machine.
I know the below commands for searching files older than x days and command for backup procedure.
solar1 #... (7 Replies)
how would a make a complete backup of all files spanning all file systems on my SCO box to tape?
i read somewhere:
find . -print | cpio -ocv > /dev/rStp0
from / ... will this do it??
(yes /dev/rStp0 is my tape drive) (11 Replies)
I have a Solaris 10 container that is running on ZFS filesystems being presented from the Global Zone.
I have a filesystem presented to the Local zone and my user wants me to remove it.
It there any way I can remove this while the zone is running?
I tried unmounting it from the local zone... (0 Replies)
Hi ,
We are using Veritas Net Backup , I want to create a new policy for backing up the (Solaris Operating System & the file systems) only the OS. not Full backup because we have an other policy for Oracle Apps and it takes full backup for all Partitions.
I need the OS backup to be in... (2 Replies)
Hi Folks,
I'm a serious UNIX newbie... I'm using a bash shell on Mac OS X.
Basically I took up unix in order to use a specific image processing software package... I've learned enough to write a script to batch process all of my images, but I have so many that I would like to use an... (1 Reply)