Problem starting stone "reason = File is on NFS, $GEMSTONE_DATADIR/extent0.dbf"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem starting stone "reason = File is on NFS, $GEMSTONE_DATADIR/extent0.dbf"

GLASS mailing list
Hi guys,

It's a while since I do not try to start local stones in my OSX box. I am trying to start a 3.3.3 stone now and I am getting this error (I am using latest GsDevKit_home):

--- 12/14/17 09:35:55 -03 ---
    GemStone is unable to open the file $GEMSTONE_DATADIR/extent0.dbf
       reason = File is on NFS, $GEMSTONE_DATADIR/extent0.dbf

    An error occurred opening the repository for exclusive access.

    Stone startup has failed.


Checking the extent, I cannot see anything obviosuly wrong:

❯ ls -la $GEMSTONE_DATADIR/extent0.dbf                                                                                                                                    -rw-r--r-- 1 mariano staff 150994944 Feb  2  2017 /opt/gemstoneAdditions/GsDevKit_home/server/stones/quuveTesting333/extents/extent0.dbf

And of course, this is not a NFS file system:

 ❯ sudo mount                                                                                                                                                              
/dev/disk1s1 on / (apfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk1s4 on /private/var/vm (apfs, local, noexec, journaled, noatime, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk2s2 on /Volumes/Seagate Backup Plus Drive (hfs, local, nodev, nosuid, journaled)
com.apple.TimeMachine.2017-12-14-092610@/dev/disk1s1 on /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/MacBook Pro/2017-12-14-092610/Macintosh HD (apfs, local, read-only, journaled, nobrowse)


I checked my emails and googled it but I found nothing. 


--

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Problem starting stone "reason = File is on NFS, $GEMSTONE_DATADIR/extent0.dbf"

GLASS mailing list


On Thu, Dec 14, 2017 at 11:05 AM, Carlo <[hidden email]> wrote:
Hi  Mariano

I think this is related to the message James sent out on 4th October?


According to Apple, "When you install macOS High Sierra on the Mac volume of a solid-state drive (SSD) or other all-flash storage device, that volume is automatically converted to APFS." --https://support.apple.com/en-gb/HT208018
Note that this is not a problem for non-SSD drives, so the problem is not as wide-spread as I first thought. Also, as a workaround, you can set the following in the stone config file:
  STN_ALLOW_NFS_EXTENTS=TRUE;
Watch the release notes for an eventual fix.


Thanks Carlo and James! You nailed it. It was exactly because of that, and yes, I have a SSD :)



 
James Foster

On Oct 2, 2017, at 8:27 PM, James Foster <[hidden email]> wrote:

"GemStone is unable to open the file /Users/jfoster/Library/GemStone/db4/data/extent0.dbf”

If you need to run GemStone on a Mac, I’d suggest you wait till this is resolved before upgrading. Stay tuned for more information...

James Foster


Regards
Carlo


On 14 Dec 2017, at 14:47, Mariano Martinez Peck via Glass <[hidden email]> wrote:

Hi guys,

It's a while since I do not try to start local stones in my OSX box. I am trying to start a 3.3.3 stone now and I am getting this error (I am using latest GsDevKit_home):

--- 12/14/17 09:35:55 -03 ---
    GemStone is unable to open the file $GEMSTONE_DATADIR/extent0.dbf
       reason = File is on NFS, $GEMSTONE_DATADIR/extent0.dbf

    An error occurred opening the repository for exclusive access.

    Stone startup has failed.


Checking the extent, I cannot see anything obviosuly wrong:

❯ ls -la $GEMSTONE_DATADIR/extent0.dbf                                                                                                                                    -rw-r--r-- 1 mariano staff 150994944 Feb  2  2017 /opt/gemstoneAdditions/GsDevKit_home/server/stones/quuveTesting333/extents/extent0.dbf

And of course, this is not a NFS file system:

 ❯ sudo mount                                                                                                                                                              
/dev/disk1s1 on / (apfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk1s4 on /private/var/vm (apfs, local, noexec, journaled, noatime, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk2s2 on /Volumes/Seagate Backup Plus Drive (hfs, local, nodev, nosuid, journaled)
com.apple.TimeMachine.2017-12-14-092610@/dev/disk1s1 on /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/MacBook Pro/2017-12-14-092610/Macintosh HD (apfs, local, read-only, journaled, nobrowse)


I checked my emails and googled it but I found nothing. 


--
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass




--

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Problem starting stone "reason = File is on NFS, $GEMSTONE_DATADIR/extent0.dbf"

GLASS mailing list
In reply to this post by GLASS mailing list
Mariano,

It's because you updated to MacOS High Sierra, which converted your file systems to apfs, which GemStone does not recognize as a local file sytem

>/dev/disk1s1 on / (apfs, local, journaled)

You can workaround this by setting

STN_ALLOW_NFS_EXTENTS = TRUE;

in the config file.

This will be fixed in a future release.

Norm


On 12/14/2017 4:47 AM, Mariano Martinez Peck via Glass wrote:
Hi guys,

It's a while since I do not try to start local stones in my OSX box. I am trying to start a 3.3.3 stone now and I am getting this error (I am using latest GsDevKit_home):

--- 12/14/17 09:35:55 -03 ---
    GemStone is unable to open the file $GEMSTONE_DATADIR/extent0.dbf
       reason = File is on NFS, $GEMSTONE_DATADIR/extent0.dbf

    An error occurred opening the repository for exclusive access.

    Stone startup has failed.


Checking the extent, I cannot see anything obviosuly wrong:

❯ ls -la $GEMSTONE_DATADIR/extent0.dbf                                                                                                                                    -rw-r--r-- 1 mariano staff 150994944 Feb  2  2017 /opt/gemstoneAdditions/GsDevKit_home/server/stones/quuveTesting333/extents/extent0.dbf

And of course, this is not a NFS file system:

 ❯ sudo mount                                                                                                                                                              
/dev/disk1s1 on / (apfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk1s4 on /private/var/vm (apfs, local, noexec, journaled, noatime, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk2s2 on /Volumes/Seagate Backup Plus Drive (hfs, local, nodev, nosuid, journaled)
com.apple.TimeMachine.2017-12-14-092610@/dev/disk1s1 on /Volumes/com.apple.TimeMachine.localsnapshots/Backups.backupdb/MacBook Pro/2017-12-14-092610/Macintosh HD (apfs, local, read-only, journaled, nobrowse)


I checked my emails and googled it but I found nothing. 


--


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass