Transparent integration of a new drive into the folder structure of a file server?

Hallo,
I'm looking for solution to a problem, that seams to be simple, but obviously is not that easy to solve:
I have to integrate a second external RAID system in to our MacOS X 10.6.8 Server based file sharing server that is accessed from Mac and Windows clients via AFP and SMB. I want to move one or two main folders from the old RAID to the new one, but this physical change has to be invisible to the users, as I don't want to confuse anyone.
So my idea was to mover the Folders to the new drive, and create symbolic links at the old locations pointing to the new locations. This works very well for the Windows clients accessing the server via SMB, but does not work for the Macs on AFP.
So I tried to move one folder to the new drive and mount it at the old location. Again this works fine for the SMB but does not work for AFP, the mount point does not show up in a directory listing via AFP.
Do you have any other idea how I might integrate the new drive in transparent way into the old folder structure?
Thanks for your input
Florian
PS: I could use SMB on the Macs but for some reason I, whenever I try to log into the server from a Mac via SMB, user name and password are accepted, but then the Mac client displays a message saying that I don't have the right to access the share. The same share works using AFP.

Define 'invisible' please.
Do you mean you need to be able to do this live, while users are on the system? or just that you can shut the machine down, reconfigure it, and bring it back up with the new configuration, even though the shares look the same to the users?
I'm guessing the latter, but it's worth asking.
Ultimately the problem lies in the way the file sharing systems deal with multi-volume sharepoints, and it's not easy. If you think about it, say you have a 1TB array handling the main sharepoint and you want to substitute one of the directories in that sharepoint with a new, empty 4TB array.
When the user mounts the sharepoint they get a little status bar at the bottom of the window showing the available space... how much is that? Well, initially it would be however much of the 1TB volume is unused... except if they switch to the linked directory they now have 4TB available (or thereabouts)... so the amount of space available has changed even though, from the user's standpoint, they're still on the same share.
It isn't valid for the OS to report 4 TB as free because that isn't the case unless you're in this specific directory.
It also isn't valid for the OS to report 5TB free, even though there is that amount of space altogether.
It also isn't valid for the OS to report 1TB free because you could upload 4TB of data if you put it in the right place.
There are few solutions to this. Microsoft sort of addressed this with their DFS solution in Windows Server, but it's not trivial.
Unfortunately you can't just blow it off and ignore the issue.
Off hand there's only one thing I can think of that *might* work. if it doesn't then you're down to using multiple sharepoints on the server, with users mounting both disks simultaneously (which can be automated, for what it's worth).
The one thing to try is to statically mount the second RAID at the appropriate location so that, as far as the OS is concerned, it looks like just another directory even though it's on a different disk. You'd do this by editing /etc/fstab and adding a line like
UUID=AABBCCDD-79F7-33FF-BE85-41DFABE2E2BA /path/to/mount    hfs   rw
to /etc/fstab (this file may not currently exist, so just create it as root).
The first field is the UUID of the drive (which you can get via diskutil info)
The second field is the path where you want this drive to appear in the filesystem - i.e. somewhere in the path of your sharepoint. There must be an existing (empty) directory at this path when the disk mounts.
The third field identifies the disk as HFS
The fourth field marks the disk as read-write
Now when the system boots it should locate this disk and mount it on top of the existing RAID volume. If you cd to your sharepoint you should see the existing drive and if you cd from there into your mounted directory you should be looking at your new RAID.
Now, this all works fine (or, at least, should do) from a standard OS standpoint. The big question is whether the AFP and SMB daemons honor and support this kind of setup... there's one way to try, of course...
Now for testing purposes you could mount it at a dummy directory, just to see whether it's available to network clients. If it is then your next step would be to clone the data from the directory onto the new drive, then edit the fstab to mount the disk at the appropriate location.
Note also that the entire volume will replace the directory you mount over - that means you can't replace two (or more) directories with one volume, but you can, of course, partition or setup your RAID into multiple volumes and mount each individual volume over a specific directory.

Similar Messages

  • Need the folder structure for Bne files..

    Hi,
    I need to do some customization on BneCreateDoc page.
    I got the class file for this page..
    oracle/apps/bne/webui/pageflow/BneCreateDocPage
    Can anyone please tell me where can i get the jsp file for this page??
    I have searched the OA_HTML top.
    Thanks,
    Niladri Saha.

    Hi,
    All the class files you can get under $java top.
    All the PG.xml files are placed under $APPL_TOP/mds(ex:oracle/bne/11.5.0/mds/pageflow/webui/BneCreateDocPage)
    Thanks
    vamshi.

  • I recently upgraded my old powerbook to an iMac.  I've dumped the files of my backup drive into the new iMac. Is there a way to have access to all the files (new and old computers) when logged on as the same user vs. logging in and out to access each?

    I am new to posting to this support community but have often referred to it for answers.  So thank you all who've contributed; you've been a great help!
    I recently upgraded my old powerbook to an iMac.  I've dumped the files of my backup drive into the new iMac. Is there a way to have access to/merge all the files (new and old computers) together so when I'm logged in can access all the files.
    Thanks!
    M

    Sure-glad to help you. You will not lose any data by changing synching to MacBook Pro from imac. You have set up Time Machine, right? that's how you'd do your backup, so I was told, and how I do my backup on my mac.  You should be able to set a password for it. Save it.  Your stuff should be saved there. So if you want to make your MacBook Pro your primary computer,  I suppose,  back up your stuff with Time machine, turn off Time machine on the iMac, turn it on on the new MacBook Pro, select the hard drive in your Time Capsule, enter your password, and do a backup from there. It might work, and it might take a while, but it should go. As for clogging the hard drive, I can't say. Depends how much stuff you have, and the hard drive's capacity.  As for moving syncing from your iMac to your macbook pro, should be the same. Your phone uses iTunes to sync and so that data should be in the cloud. You can move your iTunes Library to your new Macbook pro
    you should be able to sync your phone on your new MacBook Pro. Don't know if you can move the older backups yet-maybe try someone else, anyways,
    This handy article from Apple explains how
    How to move your iTunes library to a new computer - Apple Support''
    don't forget to de-authorize your iMac if you don't want to play purchased stuff there
    and re-authorize your new macBook Pro
    time machine is an application, and should be found in the Applications folder. it is built in to OS X, so there is nothing else to buy. double click on it, get it going, choose the Hard drive in your Time capsule/Airport as your backup Time Machine  and go for it.  You should see a circle with an arrow on the top right hand of your screen (the Desktop), next to the bluetooth icon, and just after the wifi and eject key (looks sorta like a clock face). This will do automatic backups  of your stuff.

  • Each time I create a new album in IPhoto, photos from another album or from photo stream are automatically dumped into the new album..  how do I create a blank album and then import photos from a flash drive into the new album?

    each time I create a new album in IPhoto, photos from another album or from photo stream are automatically dumped into the new album..  how do I create a blank album and then import photos from a flash drive into the new album?

    just import the iPhoto
    Surely you meant "just import the photo"?  The Spell checker is dangerously creative !

  • Can you upgrade a MacBookPro hard drive from a "750GB Serial ATA Drive @ 7200 rpm" to a Solid State Drive easily?  The info seems to say that it's as easy as plugging the new drive into a drive slot?

    I am about to buy a new MacBook Pro, but want to try out the Serial Drive 7200rpm before taking the plunge to use the SSD....Can you upgrade a MacBookPro hard drive from a "750GB Serial ATA Drive @ 7200 rpm" to a Solid State Drive easily?  The info seems to say that it's as easy as plugging the new drive into a drive slot?

    shldr2thewheel wrote:
    Fmaharg wrote:
    I am about to buy a new MacBook Pro, but want to try out the Serial Drive 7200rpm before taking the plunge to use the SSD....Can you upgrade a MacBookPro hard drive from a "750GB Serial ATA Drive @ 7200 rpm" to a Solid State Drive easily?
           Yes
    Fmaharg wrote:
    The info seems to say that it's as easy as plugging the new drive into a drive slot?
           It's easy, but not that easy.  You need to copy all the info from the drive currently in the mac to the new  one before you install the new SSD.  You can do          this by downloading cloning software (I use CarbonCopyCloner because it's free)
    Not to be picky but CCC is donationware, if you use it because of its quality you should send a little bit of money in appreciation, and as a bonus you get to turn the banner off.

  • How do I stop iTunes from automatically importing songs I listen to from my external hard drive into the music library?

    How do I stop iTunes from automatically importing songs I listen to from my external hard drive into the music library?

    Mac OS X: Double-Clicking a File Opens the Wrong Application - http://support.apple.com/kb/TS2291
    -= Changing the application used to open all files of a certain kind (written with reference to OSX 10.4 but may not have changed) =-
    1) In a Finder window highlight a file of the kind you want to change the application to open that kind of file.
    2) While that file is highlighted, select File > Get Info or press command (apple or propeller icon) + i to get a file information window.
    3) In the lower part of the info window there is an "open with" menu with a list of applications.
    4) If your application is already in the box then it is the default application for opening that kind of file and you don't need to do anything more.  Close the get info window.
    5) If the application showing in the menu is not the one with which you wish to open the file then select a new application. If your application does not appear there then select the "other..." and track down the application (usually in the Applications folder at the main level of the computer).
    6) If you wish to change all files of this type to open with this application in future, make sure the "change all" button is selected.
    7) Close the get info window.

  • How to proceed on transferring the content of an external hard drive into the time capsule.

    I just bought a new MBP and a 2T time capsule but i don’t know how to proceed on transferring the content of an old external hard drive into the brand new time capsule.
    The old external hard drive is a carbon copy of another external HD which was my time machine backup but unfortunately someone stole it from me…  so I was thinking about transferring the content from the old external hard drive to the time capsule and then set time capsule as the new time machine backup.
    Is there anybody whose can give me a hand and tell what is the best to do?
    Thanks
    sb

    Configure Time Machine preferences. Be sure to remove the external drive from the Exclude list.
    Mac Apps - Apple Support
    Mac Basics
    Welcome to Mac Support

  • I have copied my music library from two different files from extewrnal hard drive into the Itunes folder. I tunes only recognizes some of the songs. I have reloaded 5 times and can't get intunes to recognize all my songs? HELP!

    I have copied my music library from two different files from extewrnal hard drive into the Itunes folder. I tunes only recognizes some of the songs. I have reloaded 5 times and can't get intunes to recognize all my songs? HELP!

    " When I did this, my library showed all the music I have "purchased" from itunes but did not have the music that I downloaded a long time ago through itunes from my old CDs."
    Correct.
    " How can I get that music to show up in my library now on my new computer?  "
    Copy it from your old computer or your backup copy of your old computer.
    The sync is one way - computer to ipod.

  • I am making a calendar in iPhoto, picking photos from a folder, let's call it "2011 Pics," in iPhoto. After arranging all the photos and captions I decided I wanted to insert a new photo -- one that was not in "2011 Pics." So I inserted it into the folder

    Add new photo to existing calendar folder in iPhoto
    I am making a calendar in iPhoto, picking photos from a folder, let's call it "2011 Pics," in iPhoto. After arranging all the photos and captions I decided I wanted to insert a new photo -- one that was not in "2011 Pics." So I inserted it into the folder, but the picture does not show up on the scrolling menu of pictures at the left of the calendar-making page. This happened last year and in frustration I started all over again. But surely there is a way to add a new picture to a calendar that is already laid out.

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • Issue with the new COPA field added into the BBSEG Structure

    Hello All,
    I have an issue with the new COPA field added into the BBSEG Structure.
    I think its added becuase of test Operationa Conern Created by somebody.
    Can you please let me know how to remove that structure from BBSEG Structure.
    Thanks
    vsr

    Hi Monohar & Ankur,
      Thanks for your answers..
      main issue is suddenly new field called RKE_COPA_KOSTL has  been added to the BBESG Structure..
      Because of this RFBIBL00 Upload is not working. I heard that  this new fields will come by generating Operating Concerns by Transaction KEA0.I found an operating concern which was created as a test in developemt system..
      But I am not sure how to delete that operating concern.Even i am not sure if we delete the Operating Concern ..is it going to delete that field in BBESG Structure or not??
    Please advise me..
    Thanks
    sathi

  • To add new record into the table Data Service client

    When I am trying to add new record into the table Employeedetails using Data Service client it is giving a sql exception: "java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1."
    Code:
    DataService ds=DataServiceFactory.newDataService(getInitialContext(),"EmplDetApp","ld:EmplDetAppDataServices/EmployeeDetails");
    EmployeeDetailsDocument edoc=EmployeeDetailsDocument.Factory.newInstance();
    edoc.addNewEmployeeDetails();
    //here I set the primary key value empid
    edet.setEmpid("1212");
    edet.setEmpname("manu");
    ds.submit(edoc);
    Error
    EmpName 5 java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
    com.bea.ld.dsmediator.DataServiceException: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
         at com.bea.ld.dsmediator.update.JDBCAdaptor.save(JDBCAdaptor.java:247)
         at com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:528)
         at com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:245)
         at com.bea.ld.ServerBean.submit(ServerBean.java:529)
         at com.bea.ld.Server_ydm4ie_EOImpl.submit(Server_ydm4ie_EOImpl.java:910)
         at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
         at java.lang.Thread.startThreadFromVM(Unknown Source)
    Caused by: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
         at weblogic.jdbc.mssqlserver4.TdsStatement.processWarning(TdsStatement.java:1178)
         at weblogic.jdbc.mssqlserver4.TdsStatement.parseMsWarning(TdsStatement.java:1089)
         at weblogic.jdbc.mssqlserver4.TdsStatement.getMoreResults(TdsStatement.java:756)
         at weblogic.jdbc.mssqlserver4.TdsStatement.execute(TdsStatement.java:210)
         at weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:97)
         at weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:1455)
         at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:147)
         at com.bea.ld.dsmediator.update.JDBCAdaptor.save(JDBCAdaptor.java:151)
         ... 15 more
    But I am not sure why it is giving an exception as Violation of PRIMARY KEY.
    The update method works fine for the same client.
    The exception only happens when I am trying to insert a new record.
    Please help me to figure out this problem.

    If you are absolutely sure that you do not have such a row already in your table, open a case with customer support and reference CR321312. I believe the work-around is to put ld-server-core.jar in your client classpath.
    Correction: put ld-server-app.jar in the client classpath
    Edited by mreiche at 09/17/2007 3:28 PM

  • I'm trying to write an Applescript: when I add a file to a folder, I want finder to name it "1" and increment the other files in the folder by 1. i.e. once I drop a new file into the folder, the file originally called "1" will be renamed "2" etc

    I'm trying to write an Applescript. I have never used Applescript but my boss has just asked me to write a script so I dutifully nodded and said "Yes Boss"...
    The funtionality I need is that I want finder to rename the files in folder when I drop a new file in. When I add the new file (file neame: "1") to a folder, I want to increment the other file names in the folder by 1.
    So when I drop a my new "1" file into the folder, the file original file called "1" will be renamed "2", the original file named "2" will be renamed "3" etc
    I'm creating a 'stream' of images. When I add a new image i want it to nudge the other images in the folder along.
    Thanks guys!

    Maybe this will help. If you monitor the "More Like This" box (top right), other threads appear. Opening them usually displays other threads.
    https://discussions.apple.com/message/1986834#1986834

  • Is there a way to plug a flash drive into the ipad

    Is there a way to plug a flash drive into the ipad

    That is not really what the CCK's USB connector is for and a number of folks report that there are USB memory sticks that are not accessibleto the iPad with the connector. Other folks report that sometimes they overcome that issue by using a self-powered USB hub in the daisy chain; USB stick> USB hub > iPad.
    The USB connector is for cameras that can only be connected to computers/iOS devices via a USB cable.

  • Is there anyway to stop iPhoto 9.6 creating a new unnamed album within a named album when I drag a new photo into the named album.  for example:  There is a album called Fred.  I have a new photo of Fred imported into the Last import Folder.  I wante

    is there anyway to stop iPhoto 9.6 creating a new unnamed album within a named album when I drag a new photo into the named album.  for example:  There is a album called Fred.  I have a new photo of Fred imported into the Last import Folder.  I wanted to drag it into the album called Fred but iPhoto creates a new unnamed album within Fred.
    Any ideas please.  I am using Yosemite 10.1.1
    Many thanks Jaz Eilles

    Sounds like you have a folder with an album named fred inside of it.  Folders can only hold other folders, albums, slideshows, etc. but not just photos.  So you must be sure to drop the photo directly onto the album titled fred that resides inside that folder otherwise it will create a new album.
    So expand the folder so the fred album is visible and drop the new photo onto the album.

  • I am new to the Apple world and yesterday i bought an APPLE IPAD (4th Gen) .. My Question is "Can we connect a flash drive to the IPAD4 and transfer pdf files to and fro"??

    Hi all,
    I am a newbie to the Apple World and Yesterday I bought an APPLE IPAD (4th Generation).. My primary purpose is to read pdf files on IPAD4.
    I have 3 questions ..
    1. Can we connect a usb flash drive to the ipad4 and read pdf files from it?
    2.  I am using windows since 2000 and accustomed to the file explorer and file management in it. Can I get such kind of environment in IPAD4 ?
    3. Do I have to sync the IPAD too often?
    Regards,
    Manikanth

    Sandisk has recently come out with a device
    http://www.sandisk.com/products/wireless/flash-drive/
    Never used it so I can't comment on whether or not it works well. There are very few devices out there that allow file transfer without going through iTunes or via the internet. IMHO, one real weakness of the iPad, great for consuming data, however not very fully featured when it comes to moving data around, especially if that data doesn't come from iTunes or other online source.
    there is also a device called a WiDrive
    http://www.kingston.com/us/usb/wireless
    that is also a wireless drive for iPads.

Maybe you are looking for

  • How do I use my second monitor when first monitor in full screen??

    HI.  I just added a second monitor to my mac mini lion setup and when I go full screen with an app I can't use the other monitor.  How do I fix this?  Thanks.

  • Can I combine two methods of code to load various SWF files into the same location

    I presently have a set up where a large SWF file brought on the stage by clicking small icons from the scrollable thumbnail menu on the bottom of the stage. All of it happens at the same frame with .xml loading file. Here is the code for constructing

  • Problems with idoc ORDERS05

    Hi experts, I created a new Z segment for idoc ORDERS05 and it works fine. This idoc is generated whenever a PO is created or modified. But if the PO has locked or deleted items, there is no segment for this items in the IDOC. Should I modify any cod

  • Setting up the "Directory Access" application

    I was just looking at the "Directory Access" application, and noticed some services enabled by default (AppleTalk, Bonjour etc). I'm not using AppleTalk or Bonjour, so would it be useful to switch these off? (for security reasons or performance). Can

  • WSN 1.2 NI 9792 Security: Initial Setup? Default Username and Password?

    Hello, With NI WSN 1.1, using a 9792, I can click the Set Permissions button and if none had been set it would simply ask me for a new administrator password.  Now, with NI WSN 1.2, when I click on the Set Permissions button it takes me to the 9792's