You are not logged in.

Announcement

[2017.09.08] DeployStudio build v1.7.8 (checksum, release note).
[2016.08.26] DeployStudio build v1.6.19 (release note).
[2013.02.23] DeployStudio last universal build v1.5.17 (release note).

#1 2008-02-05 11:46:49

Laurent
Member
Registered: 2007-08-30

Create master failed

Hello,

I have this configuration:

Client side: iMac Intel
Server side: Xserve Xeon
Repository side: NetApp mount by NFS

I have a problem with master creation. The GUI exit successfully after 6 seconds... It seams that the problem come from the hdutil command. I try it by hand in the terminal, but same error : file exist. I remove all files from the WorinProgress folder, same error.

Do you have an idea?

Here is the logfile :

2008-02-05 10:01:55.076 Runtime[94:10b] ====================================================================================================
2008-02-05 10:01:55.077 Runtime[94:10b] DeployStudio Runtime version 1.0rc1 (b080125), Copyright 2008 The DeployStudio Team.
2008-02-05 10:01:55.087 Runtime[94:10b] MAC address: 00:1b:63:9d:c3:34
2008-02-05 10:01:55.095 Runtime[94:10b] Network address: 128.178.158.181 (icin2pc81.epfl.ch)
2008-02-05 10:01:55.112 Runtime[94:10b] Operating System: Mac OS X Version 10.5.1 (Build 9B18)
2008-02-05 10:01:55.123 Runtime[94:10b] Date: 08/02/05 10:01:55
2008-02-05 10:01:55.123 Runtime[94:10b] ====================================================================================================
2008-02-05 10:01:56.315 Runtime[94:10b] Checking host firmware version
2008-02-05 10:01:56.372 Runtime[94:10b] Macintosh model: iMac7,1
2008-02-05 10:01:56.372 Runtime[94:10b] Boot ROM version: IM71.88Z.007A.B00.0707091633
2008-02-05 10:01:56.373 Runtime[94:10b] Firmware ok!
Runtime(94,0x1fdcf60) malloc: *** error for object 0x60d68c0: double free
*** set a breakpoint in malloc_error_break to debug
Runtime(94,0x1fdcf60) malloc: *** error for object 0x60d9be0: double free
*** set a breakpoint in malloc_error_break to debug
Runtime(94,0x1fdcf60) malloc: *** error for object 0x60c9400: double free
*** set a breakpoint in malloc_error_break to debug
Runtime(94,0x1fdcf60) malloc: *** error for object 0x60c9a20: double free
*** set a breakpoint in malloc_error_break to debug
Runtime(94,0x1fdcf60) malloc: *** error for object 0x60d4cb0: double free
*** set a breakpoint in malloc_error_break to debug
2008-02-05 10:02:15.285 Runtime[94:10b] Running workflow: 'Ma creation de master' (080205104703)
Runtime(94,0x1fdcf60) malloc: *** error for object 0x60e8220: double free
*** set a breakpoint in malloc_error_break to debug
2008-02-05 10:02:15.390 Runtime[94:3fab] Checking server reachability (server=icitnab1.epfl.ch port=2049) ...
2008-02-05 10:02:15.392 Runtime[94:3fab] ip (s_addr)=-1689275776
2008-02-05 10:02:15.393 Runtime[94:3fab] Mounting repository share point...
2008-02-05 10:02:15.393 Runtime[94:3fab] "/bin/mkdir" /tmp/DSNetworkRepository 2>&1
2008-02-05 10:02:15.404 Runtime[94:3fab] "/bin/chmod" 777 /tmp/DSNetworkRepository 2>&1
2008-02-05 10:02:15.415 Runtime[94:3fab] "/bin/chmod" 777 /tmp/DSNetworkRepository 2>&1
Runtime(94,0xb02de000) malloc: *** error for object 0x60cf190: double free
*** set a breakpoint in malloc_error_break to debug
2008-02-05 10:02:37.224 Runtime[94:10b] Image action:
2008-02-05 10:02:37.835 Runtime[94:7823] '/Volumes/Macintosh HD' used: 67843.7 MB
2008-02-05 10:02:37.835 Runtime[94:7823] '/Volumes/Macintosh HD' free: 115119.5 MB
2008-02-05 10:02:37.836 Runtime[94:7823] '/tmp/DSNetworkRepository/Masters/WorkInProgress' free: 202590.9 MB
2008-02-05 10:02:38.802 Runtime[94:7823] "/usr/sbin/disktool" -A /dev/disk0s2 2>&1
2008-02-05 10:02:38.822 Runtime[94:7823] >> Adopting volinfo database device /dev/disk0s2
2008-02-05 10:02:38.823 Runtime[94:7823] >> Displaying volinfo database device /dev/disk0s2.  permissions = 1
2008-02-05 10:02:38.824 Runtime[94:7823] Setting boot device to '/dev/disk0s2'.
2008-02-05 10:02:39.235 Runtime[94:7823] "/usr/bin/hdiutil" create -ov /tmp/DSNetworkRepository/Masters/WorkInProgress/001b639dc334_Macintosh_HD_08.02.05_10.02.i386.sparseimage -volname "Macintosh HD" -size 68099m -type SPARSE -fs HFS+J -stretch 512g -layout NONE 2>&1
2008-02-05 10:02:40.625 Runtime[94:7823] >> hdiutil: create failed - File exists
2008-02-05 10:02:41.073 Runtime[94:7823] "/bin/mkdir" /tmp/DSImagingMount 2>&1
2008-02-05 10:02:41.083 Runtime[94:7823] "/bin/chmod" 777 /tmp/DSImagingMount 2>&1
2008-02-05 10:02:41.094 Runtime[94:7823] "/sbin/mount" -t hfs /dev/(null) /tmp/DSImagingMount 2>&1
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `"/sbin/mount" -t hfs /dev/(null) /tmp/DSImagingMount 2>&1'
2008-02-05 10:02:41.102 Runtime[94:7823] "/usr/sbin/disktool" -r 2>&1
2008-02-05 10:02:41.117 Runtime[94:7823] >> Refreshing Disk Arbitration ...
2008-02-05 10:02:41.118 Runtime[94:7823] "/usr/sbin/disktool" -A 2>&1
2008-02-05 10:02:41.132 Runtime[94:7823] >> disktool: missing device for adopt
2008-02-05 10:02:41.133 Runtime[94:7823] >>  Usage: disktool -A device
2008-02-05 10:02:41.156 Runtime[94:7823] "/Applications/Utilities/DeployStudio Admin.app/Contents/Resources/Runtime.app/Contents/Frameworks/DSCore.framework/Resources/Tools/macosxcleanup.sh" -preimaging "/Volumes/Macintosh HD" 2>&1
2008-02-05 10:02:41.185 Runtime[94:7823] >> Running macosxcleanup.sh v1.0
2008-02-05 10:02:41.231 Runtime[94:7823] >> Exiting macosxcleanup.sh v1.0
2008-02-05 10:02:41.321 Runtime[94:7823] "/usr/sbin/asr" restore --source /dev/disk0s2 --target /tmp/DSImagingMount --noprompt 2>&1
2008-02-05 10:02:41.405 Runtime[94:7823] "/bin/chmod" 1775 /tmp/DSImagingMount 2>&1
2008-02-05 10:02:41.416 Runtime[94:7823] "/usr/sbin/chown" root:admin /tmp/DSImagingMount 2>&1
2008-02-05 10:02:41.433 Runtime[94:7823] Resetting previously saved boot device ('/dev/disk0s2' is not a startup volume).
2008-02-05 10:02:41.434 Runtime[94:7823] "/sbin/umount" -f /tmp/DSImagingMount 2>&1
2008-02-05 10:02:41.468 Runtime[94:7823] >> umount: /tmp/DSImagingMount: not currently mounted
2008-02-05 10:02:41.468 Runtime[94:7823] "/bin/rm" -f /tmp/DSImagingMount/.autodiskmounted 2>&1
2008-02-05 10:02:41.479 Runtime[94:7823] "/bin/rmdir" /tmp/DSImagingMount 2>&1
2008-02-05 10:02:41.491 Runtime[94:7823] "/bin/rm" -f /tmp/DSNetworkRepository/Masters/WorkInProgress/001b639dc334_Macintosh_HD_08.02.05_10.02.i386.hfs.dmg 2>&1
2008-02-05 10:02:41.507 Runtime[94:7823] -> Image action completed.
2008-02-05 10:02:41.508 Runtime[94:7823] Imaging successfull (elapsed time: 0.06 minutes)

Offline

#2 2008-02-05 18:29:10

admin
Administrator
Registered: 2007-03-29
Website

Re: Create master failed

Are you using a local or ldap user account to mount the repository ?
If you're using a ldap user account, try with a local user defined on the repository server (and ensure this local user has the permissions to write on the shared repository folder).

Offline

#3 2008-02-05 22:04:19

Laurent
Member
Registered: 2007-08-30

Re: Create master failed

I use a local user account. From the Terminal when the client is netbooted, I run:
- in WorkinProgress
- touch toto
- rm toto
without problem. But I don't know if the hdutil is run as same UID as the shell in Terminal. Which UID do you use by default to run the Runtime in the NetInstall set? I will set this UID to the WorkinProgress folder in the NFS repository.

Offline

#4 2008-02-05 22:37:25

admin
Administrator
Registered: 2007-03-29
Website

Re: Create master failed

The netinstall set is run by root. So UID should be 0.
We have a similar issue with an AFP share and a LDAP/OpenDirectory user. We're waiting for this server disk image to try to reproduce.
10.5.2 might help too.

Offline

#5 2008-02-06 11:50:51

Laurent
Member
Registered: 2007-08-30

Re: Create master failed

Let me resume:

Mac server side:
- DeployStudio Assistant run as admin on MacOS X 10.5 server, uid=1000
- set the repository to mount as user admin

NFS server side:
- share the repository with options:
/vol/src/inf2           -sec=sys,rw=128.178.158.0/24,anon=0
where 128.178.158 is the subnet with clients and MacOS server. anon=0 to have root be allow to read/write on volume. root is nobody when mounting with NFS, with option anon=0, all anonymous are revert to uid=0
- DeployStudioServer repository is correctly be set to owner uid=1000 after DeployStudio Assistant as run

Client side:
- DeployStudio Runtime, Terminal, etc. are run as uid=0

1. when the client is netbooted, the repository is correctly mounted. I can read/write files in the repository and there is a lot of disk space, enough for the disk image
2. run "Create Master", error with hdiutil command (File exist)
3. I try to run the same command from Terminal, same problem
4. I try to plug a external hard disk and modify the hdiutil command to create the image onto it : it works...

It's really strange. As you can see, there is no access permissions problem with the repository. Maybe the file format (AFP, NFS, SMB/CIFS) for the repository...

Laurent

Offline

#6 2008-02-23 10:10:13

admin
Administrator
Registered: 2007-03-29
Website

Re: Create master failed

Please retry a with a RC3 netboot set. A few missing libraries used by the cifs/afp clients have been added to the 10.5 netboot set.

Offline

Board footer

Powered by FluxBB