What OS is this? And on what platform (hardware or VM)? I recall having trouble with CentOS in an OpenStack VM having the hostname change between first and subsequent boots and causing the config files to be wrong.
- Martin Becky Ligon <[email protected]> wrote: > Great! > > I think "localhost" is SUPPOSE to work but obviously it is not! > > Have a great weekend! > > Becky > > > On Fri, Apr 18, 2014 at 6:58 PM, Ankit Khandelwal \ > <[email protected]>wrote: > > > Hi Becky, > > > > Thank you for the response. I followed the steps and I was able to mount > > the file system. > > > > Regards, > > Ankit Khandelwal > > > > > > On Fri, Apr 18, 2014 at 9:47 AM, Becky Ligon <[email protected]> wrote: > > > >> Ankit: > >> > >> Try changing "localhost" to the machine name as displayed by the command > >> "hostname" in the server config file and pvfs2tab file. Make sure this > >> name is also defined in your /etc/hosts file. > >> > >> Restart the server. Reinstall the kernel module and restart the client > >> daemon. See if you get a clean start by looking at the client log file. > >> If so, then you should be able to mount the filesystem. > >> > >> Let us know how it goes. > >> > >> Becky > >> > >> > >> On Friday, April 18, 2014, Ankit Khandelwal <[email protected]> wrote: > >> > >>> Hi Boyd, > >>> > >>> The files contain: > >>> orangefs-server config: > >>> > >>> <Defaults> > >>> UnexpectedRequests 50 > >>> EventLogging none > >>> EnableTracing no > >>> LogStamp datetime > >>> BMIModules bmi_tcp > >>> FlowModules flowproto_multiqueue > >>> PerfUpdateInterval 1000 > >>> ServerJobBMITimeoutSecs 30 > >>> ServerJobFlowTimeoutSecs 30 > >>> ClientJobBMITimeoutSecs 300 > >>> ClientJobFlowTimeoutSecs 300 > >>> ClientRetryLimit 5 > >>> ClientRetryDelayMilliSecs 2000 > >>> PrecreateBatchSize 0,32,512,32,32,32,0 > >>> PrecreateLowThreshold 0,16,256,16,16,16,0 > >>> > >>> DataStorageSpace /home/amkhande/orangefs/storage/data > >>> MetadataStorageSpace /home/amkhande/orangefs/storage/meta > >>> > >>> LogFile /home/amkhande/orangefs/log/orangefs-server.log > >>> </Defaults> > >>> > >>> <Aliases> > >>> Alias localhost tcp://localhost:3334 > >>> </Aliases> > >>> > >>> <Filesystem> > >>> Name pvfs2-fs > >>> ID 487268992 > >>> RootHandle 1048576 > >>> FileStuffing yes > >>> <MetaHandleRanges> > >>> Range localhost 3-4611686018427387904 > >>> </MetaHandleRanges> > >>> <DataHandleRanges> > >>> Range localhost 4611686018427387905-9223372036854775806 > >>> </DataHandleRanges> > >>> <StorageHints> > >>> TroveSyncMeta yes > >>> TroveSyncData no > >>> TroveMethod alt-aio > >>> </StorageHints> > >>> </Filesystem> > >>> > >>> > >>> pvfs2tab: > >>> tcp://localhost:3334/pvfs2-fs /mnt/orangefs pvfs2 defaults,noauto 0 0 > >>> > >>> Thanks, > >>> Ankit > >>> > >>> > >>> > >>> On Thu, Apr 17, 2014 at 10:37 PM, Boyd Wilson \ > <[email protected]>wrote: > >>> > >>> what do your config and pvfstab files look like? > >>> > >>> -b > >>> > >>> > >>> On Thu, Apr 17, 2014 at 9:59 PM, Ankit Khandelwal \ > <[email protected]>wrote: > >>> > >>> Hello Guys, > >>> > >>> I am trying to configure OrangeFS-2.8.8 on local machine with one node. > >>> I was able to run pvfs2-server but i faced issue while mounting > >>> filesystem through server URL. > >>> > >>> This issue seems to be discussed multiple times but i was not able to > >>> resolve it using help online. > >>> > >>> I am using linux-2.6 mount command. > >>> /opt/orangefs/sbin/pvfs2-client-core --gossip-mask=verbose > >>> [D 18:41:47.157660] PINT_do_request_commit: commit node 0x7fff4544f580 > >>> [D 18:41:47.157836] node stored at 0 > >>> [D 18:41:47.157862] clearing tree > >>> [D 18:41:47.168554] PINT_do_request_commit: commit node 0x7fff4544f580 > >>> [D 18:41:47.168573] node stored at 0 > >>> [D 18:41:47.168577] clearing tree > >>> [D 18:41:47.170030] client_op_state_get_machine 300 > >>> [D 18:41:47.170046] PINT_client_state_machine_post smcb 0x221d560, op: > >>> PVFS_CLIENT_JOB_TIMER > >>> [D 18:41:47.170073] Posted PVFS_CLIENT_JOB_TIMER (-1) (waiting for > >>> test)(-1073741839) > >>> amkhande:~$ sudo mount -t pvfs2 tcp://localhost:3334/pvfs2-fs > >>> /mnt/orangefs > >>> mount: wrong fs type, bad option, bad superblock on > >>> tcp://localhost:3334/pvfs2-fs, > >>> missing codepage or helper program, or other error > >>> (for several filesystems (e.g. nfs, cifs) you might > >>> need a /sbin/mount.<type> helper program) > >>> In some cases useful info is found in syslog - try > >>> dmesg | tail or so > >>> > >>> > >>> My Client is already running. There are no existing pvfs filesystem on > >>> client. > >>> > >>> I get error : mount: wrong fs type, bad option, bad superblock on > >>> tcp://localhost:3334/pvfs2-fs > >>> > >>> when checked in dmesg: > >>> [ 328.625862] type=1400 audit(1397772210.492:31): apparmor="DENIED" > >>> operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=1135 > >>> comm="cupsd" pid=1135 comm="cupsd" capability=36 \ > capname="block_suspend" > >>> [ 336.528868] pvfs2: pvfs2_get_sb -- wait timed out; aborting attempt. > >>> [ 336.528879] pvfs2_get_sb: mount request failed with -110 > >>> [ 348.043647] [UFW BLOCK] IN=eth0 OUT= > >>> MAC=01:00:5e:00:00:01:00:19:e3:f9:cc:06:08:00 SRC=129.79.49.74 > >>> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=27235 PROTO=UDP \ > SPT=53990 > >>> DPT=8612 LEN=24 > >>> [ 350.461102] PVFS: kernel debug mask has been modified to "none" > >>> (0x00000000) > >>> [ 350.461106] PVFS: client debug mask has been modified to "none" > >>> (0x00000000) > >>> [ 352.225591] pvfs2_get_sb: mount request failed with -92 > >>> > >>> The client logs are: > >>> PVFS_isys_fs_add: Failed to initialize any appropriate BMI methods for > >>> addresses: > >>> [E 18:37:45.368786] tcp://localhost:3334 > >>> [E 18:37:45.368789] Posting fs_add failed: Protocol not available > >>> [E 18:37:45.368792] Post of op: PVFS2_VFS_OP_FS_MOUNT failed! > >>> [E 18:37:45.368800] Operation failed: (null) > >>> > >>> Please let me know if you need any more information to debug the issue. > >>> Any help on this issue would be appreciated. > >>> > >>> -- > >>> Thanks, > >>> Ankit Khandelwal > >>> > >>> > >>> > >>> -- > >>> Regards, > >>> Ankit Khandelwal > >>> > >>> _______________________________________________ > >>> Pvfs2-users mailing list > >>> [email protected] > >>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users > >>> > >>> -- > >>> Regards, > >>> Ankit Khandelwal > >>> > >> > >> > >> -- > >> Sent from Gmail Mobile > >> > > > > > > > > -- > > Regards, > > Ankit Khandelwal > > _______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
