How to add drive space from one drive to another drive in Solaris 10

This is something I have never done in Solaris. I have a mounted drive (UFS) with a dir being used for a samba share. The dir is near full. I have another drive right beside it that is empty.
1. How can I add the drive space from the empty drive to the dir or drive that is nearly full? I have to access all files on both drives from the samba share.
2. Can I do this without loosing files?
3. Can I do this without messing up the samba share?
4. Can this be done on the fly without re-boot?
Thanks in advance.

I would start by getting acquainted with ZFS.
Make sure you have a recent Solaris 10 version with a stable zfs impl. like u4 and later.
Make sure you have installed reasonably recent Solaris 10 recommended patches - they make a big difference to ZFS.
Simple solution :
* put your new drive in a zpool
# zpool create smbpool <new_drive_device, fx. c0t1d0>
* make a zfs
# zfs create smbpool/smbfs
* stop your samba server
# svcadm stop smb ?
* copy your files to your zfs fssmb_ufs=old samba fs
# cp -rp <old_samba_fs> /pools/smbpool/smbfs
* un-mount and say goodbye to your old samba fs - /wave
# umount <old_samba_fs>
* expand your zpool with the old samba server fs partition
# zpool add smbpool <device name for old samba slice, fx. c0t0d0s6>
* move your zfs fs to be mounted on the same mount points as the old samba server fs
# zfs set mountpoint=<old_samba_mountpoint> smbpool/smbfs
* restart your samba server
# svcadm start smb ?
It requires downtime for the samba server to copy the files, which could be cut shorter by using rsync, rsyncing while samba server online, stop samba server, rsync again for the changes while the first rsync ran.

Similar Messages

  • How to Add Sales order from one database to another database

    Hi All,
    I am trying to add sales order with sales order object.
    I have completed connectivity from one database to another database.
    but i am unable to post sales order with orders object.
    My code is
    ObjSales = objMain.objUtilities.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                ObjSales.DocDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.DocDueDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.TaxDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.CardCode = "C0006"
               ObjSales.Series = 92
                ObjSales.PaymentGroupCode = 3
                ObjSales.Comments = "vivek"
               ObjSales.Lines.Add()
               ObjSales.Lines.SetCurrentLine(1)
               ObjSales.Lines.ItemCode = "5127"
               ObjSales.Lines.Quantity = 100
               ObjSales.Lines.UnitPrice = 10
               ObjSales.Lines.WarehouseCode = "01"
                ObjSales.Lines.TaxCode = "0"
                ObjSales.Lines.DiscountPercent = "0.00"
                ObjSales.DocTotal = 1000
                 If ObjSales.Add <> 0 Then
                   objMain.objApplication.SetStatusBarMessage("Sales or Not Posted", SAPbouiCOM.BoMessageTime.bmt_Short, True)
                   Exit Sub
                else
                  objMain.objUtilities.ShowSuccessMessage("Sales Order Posted successfully")
                End If
    The above code is executing successfully.But the Sales order is not getting added.
    Thanks in advance.

    Hi Vivek,
    If the code you posted is not throwing any errors, then the order really does get created. Apparently just not to both databases, am I correct ?
    vivek.Y wrote:
    > I have completed connectivity from one database to another database.
    That means that apparently you have not gotten this bit right.
    Generally speaking if you want to create an order into two databases, you first need to connect to both databases and create separate order objects for each database. So you need to do this bit twice; once for each database. Something like this:
    ObjSales1 = objMain.objUtilities1.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    ObjSales2 = objMain.objUtilities2.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    Then at the end you also need to add both objects separately:
    If ObjSales1.Add <> 0 Then
    etc.
    If ObjSales2.Add <> 0 Then
    etc
    Good luck,
    Johan

  • How to give the space from one carouselIetm to another in ADF

    Hi I want the carousel Images to appeared with some space between one Image to another.
    Please look into this link to see my expected look and feel.
    http://ifelix.blogspot.com/2010/10/hi-carousel-look-feel.html
    Can you please give your suggestions if you have.
    anything can we do using skining for related this.If it so give info.
    Regards,
    Felix

    John,
    Can you please see this link. http://ifelix.blogspot.com/2010/10/hi-carousel-look-feel.html I want this look and feel.
    can you please give your ideas.
    Regards,
    Felix

  • How to move SQL database from one location to another location i.e. from C' drive to D' drive

    Hi, How to move SQL database from one location to another location i.e. from C' drive to D' drive ? please share some link.
    Thanks and Regards, Rangnath Mali

    Hi Rangnath,
    According to your description, my understanding is that you want to move databased from C drive to D drive.
    You can detach Database so that the files become independent, cut and paste the files from source to destination and attach again.
    There are two similar posts for your reference:
    http://mssqltalks.wordpress.com/2013/02/28/how-to-move-database-files-from-one-drive-to-another-or-from-one-location-to-another-in-sql-server/
    http://stackoverflow.com/questions/6584938/move-sql-server-2008-database-files-to-a-new-folder-location
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How can I Move data from one column to another in my access table?

    I have two columns, one that stores current month’s data and one that stores last month’s data. Every month data from column 2 (this month’s data) needs to be moved to column 1 that holds last month’s data. I then null out column 2 so I can accumulates this month’s data.
    I understand how to drop a column or add a column, how do I transfer data from one column to another.
    Here is my trial code:
    <cfquery name="qQueryChangeColumnName" datasource="#dsn#">
      ALTER TABLE leaderboard
      UPDATE leaderboard SET  points2 = points3
    </cfquery>
    Unfortunately, I get the following error:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in ALTER TABLE statement.
    How can I transfer my data with the alter table method?

    I looked up the Access SQL reference (which is probably a
    good place to start when having issues with Access SQL), and
    it suggests you probably need a WHERE clause in there.
    I agree the documentation is a good place to start. But you should not need a WHERE clause here.
    Too few parameters. Expected 1.
    If you run the SQL directly in Access, what are the results? At the very least, it should provide a more informative error message..

  • How do i download music from one ipod to another ipod

    how do i download music from one ipod to another ipod ?

    It needs to go through your computer's iTunes library.  If all the songs on the iPods are already in your computer's iTunes library, just sync each iPod as desired from your iTunes library. 
    If the songs on your iPods are not in your iTunes library, the approach here is to first off-load the song files from the iPods to your computer's hard drive.  Then, add the song files to your iTunes library, so that it is "consolidated" with ALL of your music.
    You cannot transfer song files from iPod to computer using iTunes, except for songs purchased from the iTunes Store.  However, there are third-party methods and utilities that can transfer from iPod to computer.  If you do an Internet search on something like "ipod transfer," you should get some links.
    Once you have ALL of your music in one iTunes library on your computer, sync your iPods as desired.

  • How can I transfer work from one computer to another?

    How can I transfer work from one computer to another?

    Welcome to the forum.
    I can think of three basic ways to accomplish what you wish to do:
    Use the Project Archiver to archive your Project (and check the box to gather the media files), to an external HDD. Probably the easiest way to do it.
    Copy the Project and ALL media files to an external HDD, but be prepared to relink the media files to the Project, as the drive letter (part of the Absolute Path) will have changed.
    Edit loosely, and Share to an AV file, which will be Imported into a New Project on that second computer. Or, edit VERY tightly, and do the same. I like the first, as removing, replacing Transitions, etc., can be much more difficult, unless that "tight edit" is 100% done.
    Good luck,
    Hunt
    Message was edited by: Bill Hunt to correct formatting

  • How do I get songs from one computer to another?

      I had found it once on apple support, but I'm having trouble finding it again. Can someone tell me how you get your songs from one computer to another? I'm consolidating all the songs from my wife's laptop on to mine so we can share the same library, but I don't know how to get her songs on my computer, and as a result, my iTunes.

    Go to the itunes folder and copy all of the songs on to an external hard drive.  Then copy them from the hard drive to the other computer
    You could also use home sharing which will send the songs over your wireless.

  • How do I transfer music from one computer to another with ratings?

    How do I transfer music from one PC to another along with the ratings and # plays?

    Refer to these articles:
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/HT4527
    iTunes: Back up your iTunes library by copying to an external hard drive
    http://support.apple.com/kb/HT1751

  • How do I transfer itunes from one laptop to another

    How do I transfer itunes from one laptop to another?

    iTunes: How to move [or copy] your music [library] to a new computer [or another drive] - http://support.apple.com/kb/HT4527 - a somewhat bewildering and not always easily understandable set of options.
    Quick answer if you use iTunes' default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Open iTunes and immediately hold down the Option (alt) key (shift on Windows), then guide it to the iTunes Library.itl file in the moved iTunes folder.
    For the record there's this reference for iTunes 11 but it really doesn't strike me as having the specifics you need. iTunes 11 for Mac: Move your library to another computer - http://support.apple.com/kb/PH12168 
    Windows users see tip at: https://discussions.apple.com/message/18879381
    If you put it in the default location of Macintosh HD > Users > *User Name* > Music  (or wherever the equivalent is on Windows) then you don't even need to start with the option key held down, iTunes will automatically look for it there.  (Make sure there isn't anything already in the iTunes folder there that you want to keep since you will be replacing it with the one you are moving.)

  • How do I transfer files from one computer to another without using cables??

    How do I transfer files from one computer to another without using cables?

    Wifi network
    Email
    Thumb Drive
    Online storage such as, iCloud Google Docs, SkyDrive, etc.

  • How do I copy photos from one iPad to another iPad?

    How do I copy photos from one ipad to another ipad without using my Mac?

    https://appsto.re/us/SQ8Wv.i
    This app helps you to upload easy all you photos by selecting all
    to your dropbox account,
    to Google Drive,
    To your computer,
    to another device,

  • How do you copy files from one user to another

    How do you copy files from one user to another user on the same machine?

    open your home folder in finder move file to public, log into other account, click the go tab on the finder menu, select computer, your hard drive (Macintosh HD Default)>Users, the origonal user> public and drag that file to your specified folder.
    hope it works
    Craig.

  • How do i transfer pictures from one user to another on my mac?

    How do I transfer pictures from one user to another user on MacBook Pro laptop?

    Transfer files between user accounts on the same machine?
    Finder > Go menu > Computer
    A window appears with your boot drive, double click on it to open
    Inside is Users folder, double click to open it
    Inside is your User accounts, double click on the one you want to send files too
    Double click on the Public folder drop the files into the DropBox folder,
    The permissions will change and can be used in the other user account when you log into it.

  • HT1329 How do I transfer playlists from one ipod to another?

    How do I transfer playlists from one ipod to another?

    It needs to go through iTunes.  But there is no way to transfer songs from iPod to iTunes library (except for music you purchased from iTunes Store).  However, there are third-party methods and utilities that can transfer from iPod to computer.  If you do a Google search on "ipod transfer," you should get some links.
    Once the song files are on your computer, add them to your iTunes library.  You can then sync your iPhone to the iTunes library.
    Alternately, if you sign up for the iTunes Match service, your iTunes music library on your computer will become available from iCloud.  You can set your new iPhone (assuming you bought a "new" iPhone) to sync from iCloud, instead of from your computer's iTunes.  All of your music will be available wirelessly, wherever you have an Internet connection. 

  • How do you move pictures from one album to another

    how do you move pictures from one album to another?

    Pictures can appear in any number of albums.
    To move from one album to another, add the picture to the new album and then right click on the picture, select Remove from album and then select the album you want to remove it from.
    If you need further help, please let us know which version of Photoshop Elements you are using and which operating system you are running on.
    Brian

Maybe you are looking for

  • Error while converting RTF to PDF

    Hi, I have got a requirement to convert .rtf file to .pdf file while downloading. The .rtf file is in application server. I have used the FM CONVERT_RTF_TO_ITF to convert to ITF format. After this I am using the FM CONVERT_OTF to convert it to pdf fo

  • My Ipod wont turn on! PLEASE HELP!!!!

    It is completely unresponsive! Ive read almost all of the apple articles about this and nothing works! This is the second time this has happened. The first time all I had to do was get a new charger! It worked for a couple of days then when I let it

  • Logic 9.1.6 scrolling causes CPU overload

    Since I've upgraded to Lion and 9.1.6, everytime I use my Mighty mouse to scroll, the CPU meter goes to full, no matter what I'm doing.   I'm on a Nehalem 2x2.26 with 12gb of RAM, and Logic has been rock solid until this. Any thoughts? Thanks, - Kent

  • Deleted Time Machine backups due to lack of space on disk.

    I can't seem to find how Time Machine handles future backups when previous backups are deleted to create more space on a disk. How often are complete backups created? What are the differences between hourly, daily and weekly backups?

  • Saving Attachments from CRM 2007 to DMS

    Hello Experts,                       My requirement is when my client  saves a particular RFQ or RFP in CRM 2007 it needs to be converted into the PDF or DOC format and it has to be stored in the separate DMS server which is Lotus Domino.Doc 6.5 and