Big news! The community will be moving to a new platform April 21. Read more.
Big news! The community will be moving to a new platform April 21. Read more.
Absent Member.
Absent Member.
2784 views

Moving shadow files to a new volume ???

Dear,


In an exsiting Volume (VOL1) which is shadowed, I copied a specific folder (Folder1) into a newly created Volume (VOL2).
VOL1\Folder1 copied on VOL2\Folder1

I need to copy the shadow files\folders of Folder1 from VOL1 to VOL2\Folder1.

Size of Shadow files\folders of VOL1\Folder1 is 1.2 TB.


Any help is welcome.

Thanks.
Labels (2)
0 Likes
10 Replies
Knowledge Partner Knowledge Partner
Knowledge Partner

6567410;2303170 wrote:
Dear,


In an exsiting Volume (VOL1) which is shadowed, I copied a specific folder (Folder1) into a newly created Volume (VOL2).
VOL1\Folder1 copied on VOL2\Folder1

I need to copy the shadow files\folders of Folder1 from VOL1 to VOL2\Folder1.

Size of Shadow files\folders of VOL1\Folder1 is 1.2 TB.


Any help is welcome.

Thanks.


So your source server is shadowed (well technically the source volume).
But the TARGET volume is not shadowed?

Basically there's a few ways you can do this, but they all have their downfalls:

1) Use a workstation with the Novell Client. It will see the source as a single volume and copy the data from both primary/shadow (since the NCP view sees them as "one") and paste them to the target. Obviously file rights aren't preserved, and neither are quotas, and it can be slow since it's routing through the workstation. But it will get the DATA over.

2) Use the miggui, but with caution. There ARE ways (not supported AFAIK). If you choose this route, I can send you some of the details via PM. It does pose a small risk in that, while you temporary expose both volumes on the Primary, (so miggui can see the data), if you make any trustee changes, it'll hose things. I think it also requires that your TARGET have a shadow setup. But my memory is old. It will get quotas/trustees, and is relatively quick. We did many migrations this way to new hardware without issue (just had to be VERY careful that nobody was changing file rights during the exposing of the volume temporarily).

3) Use your DST to shift everything BACK to the primary and then break (disable the DST/Shadow) and use miggui so that primary -> primary (ie, there's no shadowing on source or target). Obviously you need enough free disk space which you may not have. It will get quotas/trustees though.

Others may have other ideas, but this is what I could come up with.

--Kevin
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Hi.

On 27.01.2014 17:26, 6567410 wrote:
>
> Dear,
>
>
> In an exsiting Volume (VOL1) which is shadowed, I copied a specific
> folder (Folder1) into a newly created Volume (VOL2).
> VOL1\Folder1 copied on VOL2\Folder1
>
> I need to copy the shadow files\folders of Folder1 from VOL1 to
> VOL2\Folder1.
>
> Size of Shadow files\folders of VOL1\Folder1 is 1.2 TB.
>
>
> Any help is welcome.


I try to, but it's a tad difficult as I don't fully understand your
question yet.

So, how exactly and from where did you copy the existing folder? I
reckon you can't have used a regular workstation or some such, as in
that case you would have already copied both, including the shadow?!

And what is actually your goal? WHat about file dates and other file
information like owner, trustee rights and all that?


CU,
--
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Absent Member.
Absent Member.

mrosen;2303180 wrote:
Hi.

On 27.01.2014 17:26, 6567410 wrote:
>
> Dear,
>
>
> In an exsiting Volume (VOL1) which is shadowed, I copied a specific
> folder (Folder1) into a newly created Volume (VOL2).
> VOL1\Folder1 copied on VOL2\Folder1
>
> I need to copy the shadow files\folders of Folder1 from VOL1 to
> VOL2\Folder1.
>
> Size of Shadow files\folders of VOL1\Folder1 is 1.2 TB.
>
>
> Any help is welcome.


I try to, but it's a tad difficult as I don't fully understand your
question yet.

So, how exactly and from where did you copy the existing folder? I
reckon you can't have used a regular workstation or some such, as in
that case you would have already copied both, including the shadow?!

And what is actually your goal? WHat about file dates and other file
information like owner, trustee rights and all that?


CU,
--
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de


Hi,

Thanks for your Email.

Let me be clearer then.

I have Volume (VOL1) which has a shadow volume.
This VOL1 has a folder, Folder1 which is shadowed with 1.2 TB of data.

VOL1 has reached the 8 TB limit, therefore, I created a NEW Volume (VOL2) and copied the folder, Folder1, into it.

I used "rsync" to perform this task.

Now, I need to copy the shadow data which belongs to Folder1 from VOL1 to Folder1 on VOL2.

I can shadow Volume (VOL2) if this makes my life easier.

Thanks for your help.
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

6567410;2303191 wrote:
Hi,

Thanks for your Email.

Let me be clearer then.

I have Volume (VOL1) which has a shadow volume.
This VOL1 has a folder, Folder1 which is shadowed with 1.2 TB of data.

VOL1 has reached the 8 TB limit, therefore, I created a NEW Volume (VOL2) and copied the folder, Folder1, into it.

I used "rsync" to perform this task.

Now, I need to copy the shadow data which belongs to Folder1 from VOL1 to Folder1 on VOL2.

I can shadow Volume (VOL2) if this makes my life easier.

Thanks for your help.


rsync is not NCP-aware, so it (as you found out) only copied the primary data. Unless you used the special rsync switched and the NSS extended attributes, your rsync'd data has also lost the trustee rights and/or any directory quotas you had set.

Technically you can rsync the data from the shadow to the single target and SHOULD get the "combined" view at that point (again, unless you specifically do the rsync switches to get the extended attributes, you'll lose trustee info).

Unless Massimo has some other input as to whether or not rsync has some other issues in this regards.

--Kevin
0 Likes
Absent Member.
Absent Member.

Dear Kevin,

Thanks for your reply: it IS APPRECIATED.

Yes, I did find out that "rsync" does NOT copy Trustees and Shadow data.

I therefore run a script called "tbackup.sh" to backup and then restore the trustees.

In your previous response you stated:
"1) Use a workstation with the Novell Client. It will see the source as a single volume and copy the data from both primary/shadow (since the NCP view sees them as "one") and paste them to the target. Obviously file rights aren't preserved, and neither are quotas, and it can be slow since it's routing through the workstation. But it will get the DATA over."

I am using a Server with the Novell Client instlled in order to copy all the data.

If I understood you correct by using a workstation with the Novell client installed,and when logged-in, the copy process will copy all the data, the "primary" data + "shadow" data?


Am I correct?

Thanks for your help, sincerely.

MB
0 Likes
Fleet Admiral
Fleet Admiral

On 28/01/2014 09:56, 6567410 wrote:

> I am using a Server with the Novell Client instlled in order to copy all
> the data.


By "Server" do you mean Windows Server or the OES server itself (or even
another OES server)?

I ask because the distinction may be important - if a Windows Server
then you'll have the Novell Client for Windows which should definitely
see all the data from the combined primary + shadow volumes. However if
it's an OES server then you'll be using the Novell Client for Linux
which even though it's an NCP client I'm not sure will see the shadow
volume.

HTH.
--
Simon
Novell Knowledge Partner

------------------------------------------------------------------------
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
------------------------------------------------------------------------
0 Likes
Absent Member.
Absent Member.

Dear,

Thanks for your reply.

It is a Windows server will Novell Client installed, logged as "admin".

Am I going to see\copy all i.e. "Primary" + "Shadow" data?


Thanks.
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Hi.

On 28.01.2014 10:56, 6567410 wrote:
>
> If I understood you correct by using a workstation with the Novell
> client installed,and when logged-in, the copy process will copy all the
> data, the "primary" data + "shadow" data?


Yes, as that'sthe whole ide behind a shadow volume. The cient doesn't
even know it's too volumes, so obviously when a DST aware client comes
into the mix, it *must* copy the data from both volumes, as it can't and
shouldn't even distinguish them.

As for your problem in general: I would recommend to copy/move the data
of both volumes using the tool Novell developed and supports for that
very task: miggui.

http://www.novell.com/documentation/oes11/mig_tools_lx/?page=/documentation/oes11/mig_tools_lx/data/miggui.html

CU,
--
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

6567410;2303277 wrote:
Dear Kevin,

Thanks for your reply: it IS APPRECIATED.

Yes, I did find out that "rsync" does NOT copy Trustees and Shadow data.

I therefore run a script called "tbackup.sh" to backup and then restore the trustees.

In your previous response you stated:
"1) Use a workstation with the Novell Client. It will see the source as a single volume and copy the data from both primary/shadow (since the NCP view sees them as "one") and paste them to the target. Obviously file rights aren't preserved, and neither are quotas, and it can be slow since it's routing through the workstation. But it will get the DATA over."

I am using a Server with the Novell Client instlled in order to copy all the data.

If I understood you correct by using a workstation with the Novell client installed,and when logged-in, the copy process will copy all the data, the "primary" data + "shadow" data?


Am I correct?

Thanks for your help, sincerely.

MB


Just an aside:
There IS a way to get rsync to copy trustees (not sure about quotas). I, personally, have never been able to get it to work, but I know others have (I'm just probably not using the right command line parameters). I know it required two things:
a) that you enable the NSS extended attributes in the nss config file (I don't have the correct setting off the top of my head).
and
b) Use rsync with the appropriate switches to sync those extended attributes.

But again, I'm not sure if it copies quotas, but I know people that use it and that it does copy the trustees.

I see Simon and Massimo have answered your other questions.

--Kevin
0 Likes
Fleet Admiral
Fleet Admiral

On 28/01/2014 11:16, 6567410 wrote:

> It is a Windows server will Novell Client installed, logged as "admin".
>
> Am I going to see\copy all i.e. "Primary" + "Shadow" data?


Yes, you should see all (combined) data.

HTH.
--
Simon
Novell Knowledge Partner

------------------------------------------------------------------------
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
------------------------------------------------------------------------
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.