Solved

Help addressing size issues on a RAID 1 drive with two partitions

Posted on 2008-10-08
7
303 Views
Last Modified: 2010-04-03
I have an SBS 2003 server with a C: and D: partition on a RAID 1 array.  They are running out of space on both partitions and we need to expand.  We added two new drives to the existing bus and created a new RAID 1 array.  The plan as laid out by Dell should be to copy the existing D: partition to the new space and make that the new D: drive.  Take the old D: drive and merge it with the C:, problem solved.  The issue we're having is in regards to the current folder permissions and other attributes not being copied over.

Any idea on how to copy the data over with all the attributes following as well?
0
Comment
Question by:broadway69
7 Comments
 
LVL 9

Accepted Solution

by:
waynewilliams earned 250 total points
Comment Utility
You can use xcopy at the command prompt with the /O switch which copies over all the NTFS permissions.

A simple example of a xcopy command would be:

xcopy D:\*.* E:\*.*  /D /O /E /F /H

To see what all the switches do you can type xcopy /? at the command prompt.

0
 
LVL 14

Assisted Solution

by:cuziyq
cuziyq earned 250 total points
Comment Utility
There are two options:

Presumably, when you create the new array, it will be drive E: or something temporarily while you copy the files over to it.  You can issue the following command from a command prompt:

XCOPY D:\*.* E:\ /S /E /H /K /O /X

This will copy over all files in all directories starting at the root of D: downwards.  The /H switch includes files with hidden and system attributes, /K copies over attributes (i.e. read-only, archive, etc.), and /O and /X copy over ACL information (permissions) and auditing settings.

Note that if you are attempting to copy files for which you do not have access to (shouldn't happen if you do it as an administrator account, but this can happen with user folders to which Administrators are not in the ACL), the copy operation will fail.  You will need to take ownership of those files, or add Administrators as authorized users.

The second option, which is the easier one, is to MOVE the files rather than COPY them.  By default, COPYING a set of files will make the new files in the new location inherit whatever permissions are set on the place they're being copied to.  MOVING those files causes Windows to copy over the ACL and owner information as well.  The drawback to this method is that there is no do-over.  If something fails to move (i.e. Admins don't have access to the file/folder), then the move will stop and you'll wind up with half the files one one drive and half on the other, and then it becomes a pain in the butt.

The first option has the advantage that, should something fail, you've still got the originals, and you can just start all over again if things get hairy.
0
 
LVL 1

Expert Comment

by:chugarah
Comment Utility
If I understand you have merged C and D to new D drive on the new harddrive?
If you have done that just try changing the letter name back to C.

Another idea is to use backup software to take the partition that needs the special folder permission and put it on new drive. For example acronis/norton or other bacup software.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:broadway69
Comment Utility
hmmmm...

I think I will default on the side of caution for this one and use xcopy.  I'll let you know if this works!
0
 
LVL 63

Expert Comment

by:SysExpert
Comment Utility
use robocopy in the free windows resource kit for win 2003

xxcopy may also be able to do this.


I hope this helps !
0
 
LVL 14

Expert Comment

by:cuziyq
Comment Utility
Another alternative I have used in a pinch is to use WinRAR set to use no compression and then unpacking it to the target drive.  Not only will WinRAR preserve attribute and ACL information (if you tell it to), it will even go so far as to preserve the file modification and access timestamps too!  Use this option if you have to dump the D: drive you've got before you can make the new one.  It works great.
0
 

Author Comment

by:broadway69
Comment Utility
Thanks for all your help.  Looks like were just gonna rebuild with RAID 5
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now