freebsd packages for onefs

289 views
Skip to first unread message

Dan Pritts

unread,
Oct 30, 2014, 3:47:48 PM10/30/14
to isilon-u...@googlegroups.com
I wanted "tcpslice" [1] today, so i could trim down a packet capture before sending it to support.  Obviously I could have run it from an NFS client but at 1Gb that would have taken a while.   So, i wanted to run locally on the cluster.  
 
Wikipedia told me that onefs 7 is based on freebsd 7.4. 

I found the binary "packages" distribution for FreeBSD 7.4 here: 

http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/amd64/packages-7.4-release/

a download and "pkg_add" command later and i was in business.

These binaries are old, from the release of 7.4 in 2011, so i would strongly recommend against doing anything with any untrusted input. 

YMMV, unsupported, if it breaks you get to keep both pieces.

danno

[1] If you are trying to use tcpslice, note that time 1 means unix timestamp 1, i.e., 1 second into 1970.  time +1 means 1 second after the start of the tcpdump file.  Never knew that the tcpdump format stored actual time stamps. 
--
Dan Pritts
ICPSR Computing & Network Services
University of Michigan
+1 (734)615-7362

David Hasson

unread,
Oct 30, 2014, 9:59:34 PM10/30/14
to isilon-u...@googlegroups.com
The kernel and user space C libraries in OneFS are not identical to the ones in FreeBSD 7.4 - that is they have many modifications.  The kernel itself is modified extensively.  The userland libraries are mostly standard but you may have cherry picks that change the function interfaces here and there.  Some user space functionality is also heavily modified (protocol stacks, etc) - but this is usually more obvious from the binary names and in some cases, the package names (pkg_info).

Thus, you have to be a little careful with 3rd party binaries because there may be some linking issues.  In certain cases you could link fine but have segmentation faults or worse if the interface hasn't changed but the behavior has.  So my advice would be to definitely explore your options, but be watchful.  

Good info Dan, but just wanted to put out a disclaimer in case others are thinking of trying the same.

-David
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Peter Serocka

unread,
Oct 31, 2014, 12:43:27 AM10/31/14
to isilon-user-gr.
What you REALLY REALLY want to avoid in the first place is that 
the shit hits the /bin ...
i.e. overwriting any OneFS installed stuff.

Note that pkd_add isi supposed to install dependencies, too.

In the outrageously surreal case where one feels entitled to bring 
foreign binaries to OneFS, better extract them elsewhere and then 
bring them to /opt/mystuff or similar -- do not even dream 
about /usr/local. And destroy after use immediately...

-- Peter



Peter Serocka
CAS-MPG Partner Institute for Computational Biology (PICB)
Shanghai Institutes for Biological Sciences (SIBS)
Chinese Academy of Sciences (CAS)
320 Yue Yang Rd, Shanghai 200031, China





Dan Pritts

unread,
Oct 31, 2014, 12:38:09 PM10/31/14
to isilon-u...@googlegroups.com
What you REALLY REALLY want to avoid in the first place is that 
the shit hits the /bin ...
i.e. overwriting any OneFS installed stuff.
Clearly. 

One who works on this level had best know what they are doing. 
In the outrageously surreal case where one feels entitled to bring 
foreign binaries to OneFS,

In the outrageously surreal case where one feels entitled to install software
on the computer(s) that he has paid tens of thousands of dollars for...

I.e., I am "entitled" to do whatever I want with the thing.

At the same time, I have a support contract where EMC has laid out
conditions.  EMC is entitled to decline to support me if I break those
conditions.  Which I hope is your point. 

Dan Pritts

unread,
Oct 31, 2014, 2:54:40 PM10/31/14
to isilon-u...@googlegroups.com
I should add, in case it isn't clear, that the freebsd packages tree includes just about any unix software you can think of. 

October 30, 2014 at 3:47 PM
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Peter Serocka

unread,
Nov 1, 2014, 4:37:31 AM11/1/14
to isilon-u...@googlegroups.com
On 2014 Nov 1. md, at 00:38 st, Dan Pritts wrote:


At the same time, I have a support contract where EMC has laid out
conditions.  EMC is entitled to decline to support me if I break those
conditions.  Which I hope is your point. 

Therein lies the rub.

-- Peter




On 2014 Nov 1. md, at 00:38 st, Dan Pritts wrote:

What you REALLY REALLY want to avoid in the first place is that 
the shit hits the /bin ...
i.e. overwriting any OneFS installed stuff.
Clearly.  

One who works on this level had best know what they are doing.  
In the outrageously surreal case where one feels entitled to bring 
foreign binaries to OneFS,

In the outrageously surreal case where one feels entitled to install software
on the computer(s) that he has paid tens of thousands of dollars for...

I.e., I am "entitled" to do whatever I want with the thing. 
--
Dan Pritts
ICPSR Computing & Network Services
University of Michigan
+1 (734)615-7362

--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages