OCFS2 Partition across multiple Disks

Does anyone know if you can create an ocfs2 partition that spans multiple drives - I tried creating an LVM - but this will not work for sharing - Is a Clustered Volume Group Needed ?

OCFS2 is like any file system and functions in the same manner with respect to implementations.. Meaning, if you can create a file system or a volume across multiple disks (LUN) using any third party file system you can do so with OCFS2 as well.
I have done implementations (pre ASM) with OCFS on EMC LUN's Format the the entire LUN as it was a single disk and mount it.

Similar Messages

  • Can Windows Server Backup spread a single backup job across multiple disks if they are not set up as a virtual disk?

    This may be a dumb question, but I can't seem to find any definitive information after having done many, many searches.  Short question is - can Windows Server Backup spread a single backup job across multiple disks if they are not in a storage
    pool or some other RAID/JBOD structure?
    Background:
    I'm running Server 2012 Essentials with all Windows Updates installed.  I have been backing up approx 2.8TB of data (Bare Metal Recovery, C:, S: (shared folders), and system reserved) for the past year+ onto a storage pool made up of two-2TB external
    USB drives.  Backup is slow (takes approx 1.5 days to complete), but generally works.  Not surprisingly I was constantly getting capacity low messages so I decided to increase my backup storage pool by adding a 3TB drive and another spare 750GB drive
    for a total of 7.75TB.  Instead of having four separate external USB enclosures, I bot a 4-bay enclosure - Startech.com model #S3540BU33E to simplify this (or so I thought!).
    The first problem I had was adding the two new drives to the existing storage pool. I think that is because the Startech uses a JMicron USB controller that reports identical uniqueid's for all drives so only one shows up in the GUI interface for creating storage
    pools. After doing research on this, I set up a new storage pool and virtual disk using all four drives via Powershell and thought I was good. However, when the backup ran, it failed after filling the first drive, saying there was no remaining capacity. In
    reality there were three remaining empty drives and there storage pool reported almost 5TB of avail capacity. I assumed this was due to the identical uniqueid issue so I decided to try a different tactic.
    Instead of using a storage pool that combines all four disks into one virtual disk, I just added each of them to Windows Server Backup as individual drives thinking it would manage them collectively. I.e., when a drive filled up during a particular backup,
    it would just start using the next drive and so on. Apparently this was a foolish assumption because the backup failed again as soon as the first disk filled up.
    So now I don't know if this is still an issue with the identical uniqueid's or if Server Backup actually can't spread a single backup across multiple individual drives that aren't in a pool or other virtual disk implementation. Hence, my original question.
    My guess is that it does *not* spread them across individual disks, but I just wanted to get confirmation.
    Thanks

    Mandy,
    Thank you for following up on my question.
    Unfortunately the article you referenced doesn't address what I am trying to accomplish.
    The article focuses on saving the same backup job to multiple disks and rotating the disks between on and offsite for enhanced protection.  However, it still requires that an individual backup job fits on a single disk.
    What I am trying to determine is if a single backup job can span across more than one physical disk (during the backup process) without those physical disks being in some type of virtual disk implementation (e.g., storage pool, RAID, etc.).
    Thanks,
    Gerry

  • Time Machine to back up across multiple disks?

    I've run out of space on my Time Machine disk because I have a lot of video stored on my system. (It's a 2TB drive and it's maxed out)
    Is there a way to set up to share the Time Machine back up across multiple drives? If not, any recommendations for how to address this issue?
    Thanks for any assistance!

    No, Time Machine backups cannot span multiple volumes.
    If you're doing a lot of video editing, and a lot of the backup space is taken up by intermediate versions, there are ways to minimize that.
    If you just have too much video, your best bet may be to get an additional external HD, and use a different app to back up the video files to it, and exclude them from being backed-up by Time Machine.
    Tell us a bit more about your setup -- how many drives/partitions, and how large, is Time Machine backing-up, and how much of that is video?    

  • Filestream Partitioning across multiple drives

    I have a SQL 2008 R2 ENT database with the single [PRIMARY] filegroup, and a single FilestreamGroup.  The filestream has millions of records, cannot be restored, and is about to exceed the drive space limit.
    The table with the single filestream column has a primary key column that is also the Cluster index key.  There is a Full Text index and several foreign key constraints to this table's primary key. All must be disabled prior to dropping and rebuilding
    the index for partitioning (tried and tested).
    The filestream must be spread across multiple drive letters, and have multiple partitions on each drive, to facilitate file-restores within SLA.  Due to its size, it may exceed the weekend maintenance window, and therefore must be done ONLINE to allow
    the business to save new documents while the rebuild is in operation.
    How should I cobble this up into Filegroups / Files?  A data filegroup per drive. What is Best Practice for the filestream?

    I have never worked with it, but it seems very logical. If you create a partition that says that some data should be in other partition, the data has to be moved to that partition. And, yes, it has to remain in the old partition as well, in case you do a
    restore to point-in-time. This is no different than if you just delete a row.
    To get rid of the rows in the old partition, you need backup the transaction log, checkpoint and backup the log again, if memory serves.
    As for the font issue, the editor in the web UI stinks. That's one reason I stick to the NNTP bridge.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Swap Partitioning and multiple disks

    Ok so I have been setting up a workstation with Arch Linux that has a total of 16GB of RAM and, because it will run very memory intensive applications we actually require a large swap partition. Because this may eventually get upgraded to even more RAM we decided to go with a 50 GB swap partition.
    I also have two drives in the machine, the primary 500GB HDD and a smaller 250 GB HDD that we wanted to use for a /backup partition as well as swap space and so I set up the disks as follows:
    sda (500 GB):
    /    (30 GB Primary Partition)
    /home (435 GB Primary Partition)
    /usr/local  (2 GB Primary Partition)
    sdb (250 GB)
    50 GB Primary swap partition
    /backup (~200 GB Primary Partition)
    Now when I am in gparted or cfdisk that is how these partitions show up. If I do a df I see
    sda1, sda2, sda3, and sdb2 but instead of seeing what woul;d be sdb1 as a large swap I see an 8 GB swap listed as being mounted on /dev/shm (which I think is normal).
    After reading this:
    http://lissot.net/partition/partition-04.html
    I think the problem is that I don't have a swap partition set on my 500 GB drive. It seems like any bootable drive needs a swap partition on it. Although my system boots fine and I haven't had any problems running it yet I do need to get this swap partition straightened out otherwise the machine will have issues when it is fully operational and running heavy jobs.
    IS this the problem? And if so would the best way to fix it be to use parted to shrink my /home partition by a few GB and make a small swap partition on that drive at the end of the drive space? Right now it is laid out as:
    |---------------- / ----------------| |---- /usr/local ----| |------------------------------------------ /home ------------------------------------------|
    Suggestions, ideas?
    Thanks

    The output from free -m is:
    <code>
                 total       used       free     shared    buffers     cached
    Mem:         16018      15372        645          0         91      14600
    -/+ buffers/cache:        679      15338
    Swap:        47685          0      47685
    </code>
    For comparison here is the output from my laptop (also Arch Linux):
    <code>
                 total       used       free     shared    buffers     cached
    Mem:          2025        614       1411          0         12        232
    -/+ buffers/cache:        370       1655
    Swap:         1019          0       1019
    </code>
    It has an ~ 1GB swap partition but it's df also shows something at /dev/shm:
    <code>
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1              12G  7.6G  3.4G  70% /
    none                 1013M     0 1013M   0% /dev/shm
    /dev/sda3              78G   28G   47G  37% /data
    </code>
    In gparted on my laptop /dev/sda2 is the swap partition with size: 1019 MB
    Going by free -m on the workstation it looks like it is seeing the ~50 GB swap partition and it is mounted in /etc/fstab so perhaps I have nothing to worry about? Is it actually necessary that your bootable disk has a swap partition on it? Both disks (sda and sdb) actually have at least one partition flagged as bootable but sda (which has / and /home on it) didn't have a swap partition on that disk.
    Thanks for all the help.

  • How do i find and move all files across multiple disks

    I just purchased a 2010 Mac Pro and wanted to set it up with a clean install of Mavericks.  I installed a new SSD as my boot disk and did a clean install of Mavericks on it.   All good so far.
    Now from my previous Macs I have several disks (internal and external) that have pictures, music and movies spread all over the place.
    I want to know how I can search all of the drives for all of a specific file type (i.e, JPEG or MP3) and then move those files to a new folder.  Once I have all of the files of a specific type in a single folder I can create a new library in iPhoto or iTunes using those files.
    I tried AraxisFDF and it worked well for finding the files but when it moves the files it saves then in their original file structure (i.e, volume/folder/folder/folder/file) which places the files in multiple folders again.
    Any ideas?
    Thanks.

    You can clone the respective HDDs using Disk Utility>Restore or Carbon Copy Cloner.  That will guarantee that you have all images and movies backed up.
    Ciao

  • Splitting DMG file onto multiple disks

    So, I've created a ~45GB DMG file to backup some data, and I want to be able to burn it to DVD's.
    I've read a little about splitting DMGs using the hdiutil but I'm not familiar enough with the terminal to do it that way.
    Does anyone know of an easy way to split a large DMG across multiple disks that can then be loaded to another computer and mounted?
    I have Toast Titanium and Stuffit Deluxe, so I know that through a combination of those I should be able to do it.
    Any suggestions?

    See [this knowledge base article|http://kb.roxio.com/content/kb/Toast/000007T] on Roxio's site for further info. I quote a passage:
    Toast does not need to be installed on the computer to restore.
    Please also consult Toast's manual that was installed with the app on your computer. You might want to search for phrases like "spanning" or "restore".
    floba
    (MN532)
    Message was edited by: floba

  • SQLServer 2000 Backup on Multiple Disks

    I have one of the database on SQL Server 2000. The database is close to 200 GB. Any single local disks I have are not free enough to accommodate the entire backup. Is there a T-SQL script that I can run to specify the multiple backup file location with size
    so I can distribute my backup across multiple disks. Or Any other workaround someone wants to suugest? I tried the USB disks , however SQL Server wont use that to save the backup file.
    Thanks

    there is no way you can limit the size in the backup command but
    As you said the database is 200 GB, check the free space left the drive.
    Let's say f drive has 60, G Drive has 70 and H drive has 120 gb
    create 8 files...
    place 2 files  f drive ,2 files on G and 4 files on H. Data will spread using proportional fill algorithm.
    Once the backup is completed, you will find that each file is approximately 25 GB in size.
    Test for small database using the above logic
    --Prashanth

  • Can ARD fetch reports automatically across multiple partitions, without being in a particular partition?

    I'm trying to run reports across multiple client computers that have data on 2-3 partitions per Mac.  Is there anyway ARD can report to me data across partitions and not just the current partition the Mac is on?  What I have to do now is restart into every partition and get ARD data off, too time consuming.
    Also, where does ARD store it's reporting data?

    Partitions are... old school. And it will interfere with Startup Disk, with OS X.
    You could have used Windows 7 entirely and no sign of OS X (which can be installed and booted from external drives).
    I like to use multiple hard drives: boot drive for system, another drive for data, and also backup, scratch etc.
    If you use Windows 7 system image backup you should be able to restore any system in reasonable time and manner.

  • Spreading your Aperture Library across multiple volumes/drives/disks

    I recall reading posts elsewhere by others (on an Adobe Lightroom forum) on how one's Aperture Library had to sit on one volume, meaning that it could not span multiple disks. At the time I figured I would be fine for a while since I had about 150 GB of free space on my main disk, yet kept the topic at the back of my mind.
    Today, as I do regularly, I was backing up my (Aperture) library to my iPod, (not through the "vault" mechanism but simply using Finder,) when I noticed it was copying (many) individual files, rather than one large file! Being familiar with Unix, including how certain items in Mac OSX are treated, such as "Applications" that appear to be one object in the GUI, yet are merely a folder structure behind the scene, it occurred to me that the Aperture Library, rather than being some sort of single-file database format, just might be a folder instead.
    I checked, and it is. Mind you, that doesn't prevent Aperture from keeping proprietary files within those folders, however, it would seem to me that one could easily use symbolic links to throw some of the files, perhaps at the project level, onto other disks, and thus span your library across multiple volumes even if Aperture does not yet offer or manage this ability.
    iMac G5 2.1 HGz, 1.5 GB RAM, 20"   Mac OS X (10.4.7)  

    Perhaps this article will help shed light on Aperture's library organization:
    http://homepage.mac.com/bagelturf/aparticles/library/libinside/libinside.html
    Enjoy!
    -- Jim

  • How do you share Aperture file across multiple users on same Mac?

    How do you share Aperture file across multiple users on same Mac? Seems this should be a preferences choice.

    When you share your library between users, you may run into permission and ownership problems, if both users are editing the Aperture library and not only reading it. To avoid that, it helps to put the Aperture library onto a separate disk or a separate partion of your hard drive. For s separate partition or disk you can enable the "ignore ownership on this volume" flag. Then all users can access the library as owners of this library.
    You might try to put the aperture library into a shared folder on your mac, but that has caused problems recently, i.e. when the library also contains video files.
    Regards
    Léonie

  • Files aren't showing on another node in newly created ocfs2 partition

    Hi Guys,
    Configured /u01 as ocfs2 partition for shared storage on OEL5U4 (64 bit)
    [root@ebs1 u01]# /etc/init.d/ocfs2 status
    Configured OCFS2 mountpoints:  /u01
    Active OCFS2 mountpoints:  /u01
    [root@ebs1 u01]# /etc/init.d/o2cb status
    Driver for "configfs": Loaded
    Filesystem "configfs": Mounted
    Driver for "ocfs2_dlmfs": Loaded
    Filesystem "ocfs2_dlmfs": Mounted
    Checking O2CB cluster ocfs2: Online
    Heartbeat dead threshold = 31
      Network idle timeout: 30000
      Network keepalive delay: 2000
      Network reconnect delay: 2000
    Checking O2CB heartbeat: Active
    [root@ebs1 u01]# mounted.ocfs2 -f
    Device                FS     Nodes
    /dev/sdb1             ocfs2  ebs1
    [root@ebs2 u01]# /etc/init.d/ocfs2 status
    Configured OCFS2 mountpoints:  /u01
    Active OCFS2 mountpoints:  /u01
    [root@ebs2 u01]# /etc/init.d/o2cb status
    Driver for "configfs": Loaded
    Filesystem "configfs": Mounted
    Driver for "ocfs2_dlmfs": Loaded
    Filesystem "ocfs2_dlmfs": Mounted
    Checking O2CB cluster ocfs2: Online
    Heartbeat dead threshold = 31
      Network idle timeout: 30000
      Network keepalive delay: 2000
      Network reconnect delay: 2000
    Checking O2CB heartbeat: Active
    [root@ebs2 u01]# mounted.ocfs2 -f
    Device                FS     Nodes
    /dev/sdb1             ocfs2  ebs2
    ]# cat /etc/fstab [On Both Nodes]
    LABEL=/                 /                       ext3    defaults        1 1
    LABEL=/boot             /boot                   ext3    defaults        1 2
    tmpfs                   /dev/shm                tmpfs   defaults        0 0
    devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
    sysfs                   /sys                    sysfs   defaults        0 0
    proc                    /proc                   proc    defaults        0 0
    LABEL=SWAP-sda2         swap                    swap    defaults        0 0
    /dev/sdb1              /u01                    ocfs2   _netdev,datavolume     0 0
    Also tried to mount /u01 with 'nointr' but no luck,
    [root@ebs2 u01]# touch a z
    total 0
    drwxrwxr-x 2 applmgr oinstall 3896 Jan 17 04:49 lost+found
    drwxrwxr-x 3 applmgr oinstall 3896 Jan 17 05:24 app
    -rw-r--r-- 1 root    root        0 Jan 17 08:29 a
    -rw-r--r-- 1 root    root        0 Jan 17 08:37 z
    [root@ebs1 u01]# touch b r
    [root@ebs1 u01]# ls -lrt
    total 0
    drwxr-xr-x 2 root root 3896 Jan 17 08:33 lost+found
    -rw-r--r-- 1 root root    0 Jan 17 08:34 b
    -rw-r--r-- 1 root root    0 Jan 17 08:37 r
    So Basically files are not showing in each /u01 common mount point.
    Any help would be appreciated...
    Thanks,
    Manish Nashikkar

    ya...I had shared /dev/sdb disk across these 2 nodes, but somehow running blkid command was showing different UUID and which cleared my doubts...Thanks for your help...
    [root@ebs1 ~]# blkid
    /dev/sda3: LABEL="/" UUID="f1e8fb9e-8a33-46e3-8fec-3a1f405c341c" TYPE="ext3"
    /dev/sda2: LABEL="SWAP-sda2" TYPE="swap"
    /dev/sda1: LABEL="/boot" UUID="451e7b50-c0df-4ec0-9c00-7ff2bc3da665" TYPE="ext3"
    /dev/sdb1: LABEL="oracle" UUID="2f7c2fc0-7ac9-4d63-be22-fbd9a21c0380" TYPE="ocfs2"
    [root@ebs2 ~]# blkid
    /dev/sda3: LABEL="/" UUID="f1e8fb9e-8a33-46e3-8fec-3a1f405c341c" TYPE="ext3"
    /dev/sda2: LABEL="SWAP-sda2" TYPE="swap"
    /dev/sda1: LABEL="/boot" UUID="451e7b50-c0df-4ec0-9c00-7ff2bc3da665" TYPE="ext3"
    /dev/sdb1: LABEL="oracle" UUID="9dfb5065-794c-434b-9d83-48b1d5a0d44b" TYPE="ocfs2"
    so I decided to detach /dev/sdb from both nodes and again attached to it. This time blkid was showing me same UUID for /dev/sdb.
    Also verified using below command, (earlier below Nodes tab, only one node was appearing)
    [root@ebs1 u01]# mounted.ocfs2 -f
    Device                     FS     Nodes
      /dev/sdb1             ocfs2  ebs1, ebs2
    Thanks,
    Manish Nashikkar

  • Partition the hard disk

    Hi,
    I want to make a partition my Mac Book (Mac OS x10.4.11) hardisk using bootcamp. How can i take the back up of my data. Is it something like Time machine for tiger aswell ?.
    Thank you

    First, there is no Time Machine with Tiger. It is only available with Leopard. Second, the Boot Camp Beta available for Tiger has expired and is no longer usable. Boot Camp is now only available with Leopard.
    Basic Backup
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    1. Retrospect Desktop (Commercial - not yet universal binary)
    2. Synchronize! Pro X (Commercial)
    3. Synk (Backup, Standard, or Pro)
    4. Deja Vu (Shareware)
    5. Carbon Copy Cloner (Donationware)
    6. SuperDuper! (Commercial)
    7. Intego Personal Backup (Commercial)
    8. Data Backup (Commercial)
    The following utilities can also be used for backup, but cannot create bootable clones:
    1. Backup (requires a .Mac account with Apple both to get the software and to use it.)
    2. Toast
    3. Impression
    4. arRSync
    Apple's Backup is a full backup tool capable of also backing up across multiple media such as CD/DVD. However, it cannot create bootable backups. It is primarily an "archiving" utility as are the other two.
    Impression and Toast are disk image based backups, only. Particularly useful if you need to backup to CD/DVD across multiple media.
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore. Also read How to Back Up and Restore Your Files.
    Although you can buy a complete FireWire drive system, you can also put one together if you are so inclined. It's relatively easy and only requires a Phillips head screwdriver (typically.) You can purchase hard drives separately. This gives you an opportunity to shop for the best prices on a hard drive of your choice. Reliable brands include Seagate, Hitachi, Western Digital, Toshiba, and Fujitsu. You can find reviews and benchmarks on many drives at Storage Review.
    Enclosures for FireWire and USB are readily available. You can find only FireWire enclosures, only USB enclosures, and enclosures that feature multiple ports. I would stress getting enclosures that use the Oxford chipsets (911, 921, 922, for example.) You can find enclosures at places such as;
    Cool Drives
    OWC
    WiebeTech
    Firewire Direct
    California Drives
    NewEgg
    All you need do is remove a case cover, mount the hard drive in the enclosure and connect the cables, then re-attach the case cover. Usually the only tool required is a small or medium Phillips screwdriver.
    It's possible to use the Boot Camp Beta but only if you set your computer's clock to a date prior to the Beta's expiration date which was Oct. 26, 2007. However, a better solution all around is to get Leopard and upgrade your system.

  • Damaged partition on USB disk. Please help me reconstruct it.

    Hello,
    I have a Seagate 2TB USB 3.0 disk that suddenly has stopped working under Mac OS X Mavericks. The system won't recognise it. The funny thing is that if I attach the disk to my QNAP NAS, the disk is seen just fine by the OS. I've read multiple websites with similar experiences; it seems to me as if the Mac OS X isn't as permisive as linux OS... and boy, is that annoying
    I came across this article: http://perrohunter.com/repair-a-mac-os-x-hfs-partition-table/#comment-4644 . I must say that I got my hopes high when I started reading the post, because I felt it described my very same situation. Unfortunatelly, when I got to step #8, Mavericks would complain about the resource being busy, thus getting me stuck in there
    When the disk is hooked up on my NAS, I can see the data just fine. I just want to be able to mount the disk one last time under OS X in order to transfer all the Time Machine backups I have there...
    A few details:
    fdisk
    macminiserver:testdisk-7.0-WIP marc$ sudo fdisk /dev/rdisk5
    Disk: /dev/rdisk5          geometry: 243201/255/63 [3907029167 sectors]
    Signature: 0xAA55
             Starting       Ending
    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
    1: AF 1023 254  63 - 1023 254  63 [         2 - 3907029165] HFS+       
    2: 00    0   0   0 -    0   0   0 [         0 -          0] unused     
    3: 00    0   0   0 -    0   0   0 [         0 -          0] unused     
    4: 00    0   0   0 -    0   0   0 [         0 -          0] unused     
    macminiserver:testdisk-7.0-WIP marc$ sudo fdisk -d /dev/rdisk5
    2,-387938131,0xAF,-,1023,254,63,1023,254,63
    0,0,0x00,-,0,0,0,0,0,0
    0,0,0x00,-,0,0,0,0,0,0
    0,0,0x00,-,0,0,0,0,0,0
    macminiserver:testdisk-7.0-WIP marc$ sudo gpt -r -vv show /dev/rdisk5
    Password:
    gpt show: /dev/rdisk5: mediasize=2000398933504; sectorsize=512; blocks=3907029167
    gpt show: /dev/rdisk5: MBR at sector 0
           start        size  index  contents
               0           1         MBR
               1           1        
               2  3907029165      1  MBR part 175
    gdisk
    macminiserver:testdisk-7.0-WIP marc$ sudo sudo gdisk /dev/rdisk5
    GPT fdisk (gdisk) version 0.8.10
    Warning: Devices opened with shared lock will not have their
    partition table automatically reloaded!
    Partition table scan:
      MBR: MBR only
      BSD: not present
      APM: not present
      GPT: not present
    Found invalid GPT and valid MBR; converting MBR to GPT format
    in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
    typing 'q' if you don't want to convert your MBR partitions
    to GPT format!
    Warning! Main partition table overlaps the first partition by 32 blocks!
    You will need to delete this partition or resize it in another utility.
    Warning! Secondary partition table overlaps the last partition by
    33 blocks!
    You will need to delete this partition or resize it in another utility.
    Command (? for help): r
    Recovery/transformation command (? for help): ?
    b          use backup GPT header (rebuilding main)
    c          load backup partition table from disk (rebuilding main)
    d          use main GPT header (rebuilding backup)
    e          load main partition table from disk (rebuilding backup)
    f          load MBR and build fresh GPT from it
    g          convert GPT into MBR and exit
    h          make hybrid MBR
    i          show detailed information on a partition
    l          load partition data from a backup file
    m          return to main menu
    o          print protective MBR data
    p          print the partition table
    q          quit without saving changes
    t          transform BSD disklabel partition
    v          verify disk
    w          write table to disk and exit
    x          extra functionality (experts only)
    ?          print this menu
    Recovery/transformation command (? for help): o
    Disk size is 3907029167 sectors (1.8 TiB)
    MBR disk identifier: 0x00000000
    MBR partitions:
    Number  Boot  Start Sector   End Sector   Status      Code
       1                     1   3907029166   primary     0xEE
    Recovery/transformation command (? for help): p
    Disk /dev/rdisk5: 3907029167 sectors, 1.8 TiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 12A8F4C9-1F60-4D7A-8109-96F6D0A1596F
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 3907029133
    Partitions will be aligned on 8-sector boundaries
    Total free space is 0 sectors (0 bytes)
    Number  Start (sector)    End (sector)  Size       Code  Name
       1               2      3907029166   1.8 TiB     AF00  Apple HFS/HFS+
    Recovery/transformation command (? for help): w
    Warning! Main partition table overlaps the first partition by 32 blocks!
    You will need to delete this partition or resize it in another utility.
    Warning! Secondary partition table overlaps the last partition by
    33 blocks!
    You will need to delete this partition or resize it in another utility.
    Aborting write of new partition table.
    pdisk
    macminiserver:testdisk-7.0-WIP marc$ sudo pdisk /dev/rdisk5
    Password:
    pdisk: No valid block 1 on '/dev/rdisk5'
    Edit /dev/rdisk5 -
    Command (? for help): i
    pdisk: can't open file '/dev/rdisk5' for writing  (Resource busy)
    I would appreciate your help very much.
    Thanks in advance

    Christopher Murphy wrote:
    Yeah I'm not sure the problem is partition related at all. It might be file system corruption that OS X's fsck sees but can't fix, while it goes unnoticed on the NAS. But then this message is confusing:
    May 21 21:30:25 macminiserver kernel[0]: disk3s1: device/channel is not attached.
    May 21 21:30:25 macminiserver kernel[0]: disk3s1: media is not present.
    When it's connected, what result do you get for 'diskutil list' is the drive in question listed? And if so what do you get for 'diskutil verifydisk /dev/diskX'? Use diskX not diskXsY.
    diskutil list displays the disk and partition just fine:
    macminiserver:~ marc$ diskutil list
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:          Apple_CoreStorage                         121.0 GB   disk0s2
       3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *1.0 TB     disk1
       1:                        EFI EFI                     209.7 MB   disk1s1
       2:          Apple_CoreStorage                         799.3 GB   disk1s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
       4:                  Apple_HFS Macintosh HD2           199.9 GB   disk1s4
    /dev/disk2
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                  Apple_HFS Macintosh HD           *911.8 GB   disk2
    /dev/disk5
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:     FDisk_partition_scheme                        *2.0 TB     disk5
       1:                  Apple_HFS TimeMachine Macs Casa   2.0 TB     disk5s1
    The disk in quesiton is the one in red. The rest of disks and partitions are system disks (Fusion Drive); they are not relevant.
    The result I get when I attempt to verify the disk is rather annoying given that I pretty much had assumed it did not contain any GPT scheme:
    macminiserver:~ marc$ diskutil verifydisk /dev/disk5
    Unable to verify this whole disk: A GUID Partition Table (GPT) partitioning scheme is required (-69773)
    I thought this could also help shed some light on the issue:
    macminiserver:~ marc$ diskutil info /dev/disk5
       Device Identifier:        disk5
       Device Node:              /dev/disk5
       Part of Whole:            disk5
       Device / Media Name:      Seagate Expansion Desk Media
       Volume Name:              Not applicable (no file system)
       Mounted:                  Not applicable (no file system)
       File System:              None
       Content (IOContent):      FDisk_partition_scheme
       OS Can Be Installed:      No
       Media Type:               Generic
       Protocol:                 USB
       SMART Status:             Not Supported
       Total Size:               2.0 TB (2000398933504 Bytes) (exactly 3907029167 512-Byte-Units)
       Volume Free Space:        Not applicable (no file system)
       Device Block Size:        512 Bytes
       Read-Only Media:          No
       Read-Only Volume:         Not applicable (no file system)
       Ejectable:                Yes
       Whole:                    Yes
       Internal:                 No
       OS 9 Drivers:             No
       Low Level Format:         Not supported
    macminiserver:~ marc$ diskutil info /dev/disk5s1
       Device Identifier:        disk5s1
       Device Node:              /dev/disk5s1
       Part of Whole:            disk5
       Device / Media Name:      Untitled 1
       Volume Name:              TimeMachine Macs Casa
       Escaped with Unicode:     TimeMachine%FF%FE%20%00Macs%FF%FE%20%00Casa
       Mounted:                  No
       File System Personality:  HFS+
       Type (Bundle):            hfs
       Name (User Visible):      Mac OS Extended
       Journal:                  Unknown (not mounted)
       Owners:                   Disabled
       Partition Type:           Apple_HFS
       OS Can Be Installed:      No
       Media Type:               Generic
       Protocol:                 USB
       SMART Status:             Not Supported
       Volume UUID:              CF26012D-A428-3A4C-9E0F-D18A1AAB0CFC
       Total Size:               2.0 TB (2000398932480 Bytes) (exactly 3907029165 512-Byte-Units)
       Volume Free Space:        0 B (0 Bytes) (exactly 0 512-Byte-Units)
       Device Block Size:        512 Bytes
       Read-Only Media:          No
       Read-Only Volume:         Not applicable (not mounted)
       Ejectable:                Yes
       Whole:                    No
       Internal:                 No
    Message was edited by: marc.garcia. Added "diskutil info" output.

  • Sharing an iTunes Library across multiple user account and a network.

    Sharing an iTunes Music Library across multiple user accounts.
    Hello Everybody!
    Firstly, this was designed to be run in Mac OS X 10.4 Tiger. It will not work with earlier versions of Mac OS X! Sorry.
    Here's a handy tip for keeping your hard drive neat and tidy, it also saves space, what in effect will be done is an iTunes music library will be shared amongst multiple users on the same machine. There are advantages and disadvantages to using this method.
    • Firstly I think it might be worthwhile to state the advantages and disadvantages to using this approach.
    The advantages include:
    - Space will be saved, as no duplicate files will occur.
    - The administrator will be able to have complete control over the content of the iTunes library, this may be useful for restricting the content of the Library; particularly for example if computer is being used at and education institution, business or any other sort of institution where things such as explicit content would be less favorable.
    - The machine will not be slowed by the fact that every user has lots of files.
    The disadvantages to this system include.
    - The fact that the account storing the music will have to be logged in, and iTunes will have to be active in that account.
    - If the account housing the music is not active then nobody can use the iTunes library.
    - There is a certain degree of risk present when an administrator account must be continually active.
    - Fast User Switching must be enabled.
    Overview:
    A central account controls all music on the machine/network, this is achieved by storing iTunes files in a public location as opposed to in the user's directory. In effect the system will give all users across the machine/network access to the same music/files without the possibility of files 'doubling up' because two different users like the same types of music. This approach saves valuable disk space in this regard and may therefore prove to be useful in some situations.
    This is a hearty process to undertake, so only follow this tutorial if you're willing to go all the way to the end of it.
    Process:
    Step 1:
    Firstly, we need to organize the host library, I tidied mine up, removing excess playlists, random files, things like that. this will make thing a bit easier in the later stages of this process.
    Once the library is tidied up, move the entire "iTunes" folder from your Home directory to the "//localhost" directory (The Macintosh HD) and ensure that files are on the same level as the "Applications", "Users", "Library" and "System" directories; this will ensure that the files in the library are available to all users on the machine (this also works for networks)
    Optionally you can set the ownership of the folder to the 'administrator' account (the user who will be hosting the library.), you may also like to set the permissions of 'you can' to "Read & Write" (assuming that you are doing this through the user who will host the library); secondly you should set the "Owner" to the administrator who will be hosting the library and set their "access" to "Read & Write" (this will ensure that the administrator has full access to the folder). The final part of this step involves setting access for the "Others" tab to "Read Only" this will ensure that the other users can view but not modify the contents on the folder.
    Overview:
    So far we have done the following steps:
    1. Organized the host library.
    2. Placed the iTunes directory into a 'public' directory so that other users may use it. (this step is essential if you plan on sharing the library across multiple accounts on the same machine. NOTE: this step is only necessary if you are wanting to share you library across multiple accounts on the same machine, if you simply want to share the music across a network, use the iTunes sharing facility.
    3. set ownership and permissions for the iTunes music folder.
    Step 2:
    Currently the administrator is the only user who can use this library, however we will address this soon. In this step we will enable iTunes music sharing in the administrator's account, this will enable other users to access the files in the library.
    If you are not logged in as the administrator, do so; secondly, open iTunes and select "Preferences" from the "iTunes" menu, now click the "Sharing" tab, if "share my library on my local network" is not checked, the radio buttons below this will now become active, you may choose to share the entire libraries contents, or share only selected content.
    Sharing only selected content may be useful if their is explicit content in the library and minors use the network or machine that the library is connected to.
    If you have selected "share entire library" go to Step 3, if you have selected share "share selected playlists" read on.
    After clicking "share selected playlists" you must then select the playlists that you intend to share across your accounts and network. Once you have finished selecting the playlists, click "OK" to save the settings.
    Overview:
    In this step we:
    1. Enabled iTunes sharing in the administrator's account, now, users on the local network may access the iTunes library, however, users on the same machine may not.
    Step 3:
    Now we will enable users on the same machine to access the library on the machine. This is achieved by logging in as each user, opening iTunes, opening iTunes preferences, and clicking "look for shared music". now all users on the machine may also access the library that the administrator controls.
    This in effect will mean that the user will not need to use their user library, it will be provided to them via a pseudo network connection.
    As a secondary measure, I have chosen to write a generic login script that will move any content from the user's "Music/iTunes/iTunes Music" directory to the trash and then empties the user's trash.
    This is done through the use of an Automator Application: this application does the following actions.
    1. Uses the "Finder" action "Get Specified Finder Items"
    1a. The user's "~/Music/iTunes/iTunes Music" folder
    2. Uses the "Finder" action "Get Folder Contents"
    3. Uses the "Finder" action "Move to Trash"
    4. Uses the "Automator" action "Run AppleScript"
    4a. with the following:
    on run {input, parameters}
    tell application "Finder"
    empty trash
    end tell
    return input
    end run
    IMPORTANT: Once the script is adapted to the user account it must be set as a login item. in order to keep the script out of the way i have placed it in the user's "Library" directory, in "Application Support" under "iTunes".
    Overview:
    Here we:
    1. Enabled iTunes sharing in the user accounts on the host machine, in effect allowing all users of the machine to view a single iTunes library.
    2. (Optional) I have created a login application that will remove any content that has been added to user iTunes libraries, this in effect stops other users of the machine from adding music and files to iTunes.
    Step 4:
    If it is not already enabled, open system preferences and enable Fast User Switching in Accounts Options.
    Summary:
    We have shared a single iTunes library across multiple user account, while still allowing for network sharing. This method is designed to save space on machines, particularly those with smaller hard drives.
    I hope that this hint proves to be helpful and I hope everybody will give me feedback on my process.
    regards,
    Pete.
    iBook G4; 60GB Hard Drive, 512MB RAM, Airport Extreme   Mac OS X (10.4.6)   iWork & iLife '06, Adobe CS2, Final Cut Pro. Anything and Everything!!!

    how to share music between different accounts on a single computer

Maybe you are looking for

  • Mid 2010 MacBook Pro 15" battery Problem

    Hi I have a Mid 2010 MacBook Pro 15" 2,66GHz Intel Core i7, with 8GB of 1067MHz DDR3 Ram running OSX 10.9.4. When my MacBook reaches about 30% charge, it shuts down. I have had the battery replaced about 3 days ago, and thats when I started noticing

  • Do I need to buy a Mac pro with an iMac?

    I'm planning on buying a 27-inch iMac, do I need to buy a Mac Pro (single processor) or any other hardware etc with the iMac PC?

  • Inclusive Free Goods Determination ?

    Hi,    Can someone dend me the config. steps for inclusive free goods determination . Regrds, Binayak

  • Interactive Adobe form is not interactive in ABAP WD

    Hello, I've created an Adobe form with interactive UI elements (text input fields). When simulating these in the Adobe designer, they are all working fine. However, when executing the form embedded in an ABAP WD, the input fields are not active. When

  • FYI - Safari Crashes

    There seems to be all kinds of posts relating to Safari Crashes or "unexpected quits". I just happened to notice after Safari started giving me problems and I came here for answers. Several posts mentioned going into the Users/yer name/ Library... fo