Re: [osol-discuss] If a disk slice is part of mirror, can this slice be used directly?

2005-07-18 Thread Daniel Rock
Victor Feng schrieb: Our Solaris boxes were installed by vendor. I observed that: 1. Dump device: /dev/dsk/c1t0d0s1 (dedicated) 2. /dev/dsk/c1t0d0s1 is part of mirror /dev/md/dsk/d1 3. /dev/md/dsk/d1 is the swap See the following script for details. 1. I wonder why the vendor uses /dev/dsk/c1t0

Re: [osol-discuss] Re: zfs

2005-08-31 Thread Daniel Rock
Joerg Schilling schrieb: At mount time the correctness of Bill Joy's birthday needs to be verified Actually, it is Kirk's birthday. Daniel ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Re: zfs

2005-08-31 Thread Daniel Rock
Rich Teer schrieb: On Wed, 31 Aug 2005, Daniel Rock wrote: Joerg Schilling schrieb: At mount time the correctness of Bill Joy's birthday needs to be verified Actually, it is Kirk's birthday. Maybe it's Bill Joy's birthday in Sun's UFS and Kirk's in

Re: [osol-discuss] Re: zfs

2005-08-31 Thread Daniel Rock
Joerg Schilling schrieb: Daniel Rock <[EMAIL PROTECTED]> wrote: But Kirk was the main author of FFS. Why do you believe this, do you have any prove for this? There are many other sites which cite Kirk as primary author of FFS. But Kirk himself is more humble about it: - Bill Joy d

Re: [osol-discuss] Re: zfs

2005-08-31 Thread Daniel Rock
Joerg Schilling schrieb: Daniel Rock <[EMAIL PROTECTED]> wrote: With a UFS version from SunOS-4.0 (1987) or later, newfs of course and even by default uses bigger values (depending on the geometry and size of the disk). BTW: The number of inodes/cylinder group is unrelated to the num

Re: [osol-discuss] Re: Re: Dual Boot with XP

2005-10-02 Thread Daniel Rock
W. Wayne Liauh schrieb: Since, at least at the present time, Solaris does not recognize extended > partitions, it is quite smart to format FAT32 (vfat in Linux) on one of > the three primary partitions for sharing by all the systems. There is no need to put a FAT file system on a primary partit

Re: [osol-discuss] inode numbers on ZFS

2005-10-12 Thread Daniel Rock
[EMAIL PROTECTED] schrieb: ZFS is a 128 bit filesystem, isn't it? Depends on whether it's large file aware or not, I'd say. (the ino field in stat64 is 64 bits) So to fully utilize a ZFS file system the average file size has to be 16 EB? People are already moaning today that on MT-UFS the a

Re: [osol-discuss] inode numbers on ZFS

2005-10-12 Thread Daniel Rock
Sarah Jelinek schrieb: Daniel, To clear up a misconception about MTB UFS. The maximum density of inodes that can be in a MTB UFS filesystem is 1 inode per megabyte of space. This does not mean that a megabyte of space is used for every file. It simply means you cannot have more than a million

Re: [osol-discuss] fsck seems to have a few new features in build 26

2005-11-16 Thread Daniel Rock
Jonathan Adams schrieb: On Tue, Nov 15, 2005 at 08:06:06PM -0500, Dennis Clarke wrote: Hold on .. do you mean from the ok prompt ? ok boot -m milestone=none as opposed to ok boot -sv hmmm fascinating ... let me try that right now. Yes; it's a completely minimal boot, with nothing but ini

Re: [osol-discuss] milestone "none" really means "nothing" running at all really

2005-11-17 Thread Daniel Rock
Joerg Schilling schrieb: [EMAIL PROTECTED] wrote: When you boot from a device the node does not need to be present in /dev* in order for you to remoutn it r/w so you can fix it. This was true before /devices was on the "devfs" filesystem. But having /usr ready helps a lot. It is no fun, cd

Re: [osol-discuss] Strange CPU Utilization Problem

2006-01-16 Thread Daniel Rock
Jerry Gardner schrieb: My dual Opteron system running snv_27 occasionally gets into a state where > processor utilization goes to 100% on one processor for a second or two > and then drops back to zero, and then the whole cycle repeats on the other > processor. The system is not doing anything p

Re: [osol-discuss] AMD 64 X2 processor support

2006-02-21 Thread Daniel Rock
Felix Schulte schrieb: On 2/21/06, Ben Rockwood <[EMAIL PROTECTED]> wrote: Ken wrote: anyone have experience using solaris 10 with the amd 64 x2 processors? I am looking to build a rather cheap low end server. TIA Yes. ;) [EMAIL PROTECTED] ~$ psrinfo -vp The physical processor has 2 virtua

Re: [osol-discuss] Re: RFE: /etc/systemtuneabletosetthedefaultpagesize

2006-04-10 Thread Daniel Rock
Dennis Clarke schrieb: In what sense? It already says "the sun4u architecture doesn't support the 4K blocksize". It simply seems odd to refer to the 4K page size for the non-sun4u hardware when Solaris 10 does not support sun4m or sun4d etc etc. Simply leave the manpage with an 8K page size

Re: [osol-discuss] Re: Kconfig in Solaris?

2007-03-31 Thread Daniel Rock
man -s 7 Intro Daniel ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Re: Kconfig in Solaris?

2007-03-31 Thread Daniel Rock
man -s 7 Intro Daniel ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Re: Sun to make Solaris more Linux like

2007-05-18 Thread Daniel Rock
Doug Scott schrieb: The patch for df.c below checks to see if stdout is a tty (i.e. interactive), and will add the -h option if no other options conflict. If stdout is not a tty (i.e. a script), the df command is unchanged. Is there anything wrong with this idea?? Why does everyone like the "

Re: [osol-discuss] Re: Sun to make Solaris more Linux like

2007-05-19 Thread Daniel Rock
[EMAIL PROTECTED] schrieb: It probably shouldn't be the default, but I can't really tell what this means: 131996712968156 9652530272 1% quick, how much space is that? Enough free. With the -h option the width of the filesystem size is roughly the same - regardless if the files

Re: [osol-discuss] Re: Sun to make Solaris more Linux like

2007-05-19 Thread Daniel Rock
[EMAIL PROTECTED] schrieb: FreeBSD's utilities in contrast check for the largest required width and adjusts output accordingly: -rwsr-s--x 1 oracle dba 133894000 Mai 29 2006 oracle* -rwxr-xr-x 1 oracle dba1339524 Mai 19 2006 oratclsh* -rwxr-xr-x 1 oracle dba

Re: [osol-discuss] Re: Sun to make Solaris more Linux like

2007-05-19 Thread Daniel Rock
Hugh McIntyre schrieb: You can use (n)awk in the case above. For example, what happens with "cut" in the case above if a future project allows usernames >8 characters? But granted that some people will have scripts that use "cut", so it's hard to change. Compatible formatting if stdout is n

Re: [osol-discuss] Re: Sun to make Solaris more Linux like

2007-05-19 Thread Daniel Rock
Shawn Walker schrieb: On 19/05/07, Daniel Rock <[EMAIL PROTECTED]> wrote: Compatible formatting if stdout is not a terminal. Optimized formatting if stdout is a terminal. Which would be really annoying to me as a user. I would go to look at the output, think "I'll just p

Re: [osol-discuss] Re: Sun to make Solaris more Linux like

2007-05-19 Thread Daniel Rock
Shawn Walker schrieb: As I said before, the point is that it is unexpected behaviour. Do you count the number of columns in an interactive context? Unless the man page for the utility explicitly lists the behaviour in question, it is undesireable in my view. Even then, I have misgivings abou

Re: [osol-discuss] Hotplugging sata drives

2007-12-07 Thread Daniel Rock
Joerg Schilling schrieb: > So the sata driver seems to be OK at low level. > There is however no new device in /devices/. Is this a known issue? I don't know if it is intended that way. But after plugging the SATA disk I searched for a connected but unconfigured port with cfgadm -l then e

Re: [osol-discuss] In Unix

2008-03-21 Thread Daniel Rock
Raja schrieb: > Hi, > Good Morning..!!! > > how will get the below lines, from Strat to End in between lines, i want to > write in seprate file. > > #Start of lines added by SUNWscu > 20 4 * * 0 /usr/cluster/lib/sc/newcleventlog /var/cluster/logs/eventlog > 20 4 * * 0 /usr/cluster/lib/sc/newclev

Re: [osol-discuss] getting current open FDs

2006-04-15 Thread Daniel Rock
alessioc schrieb: is there an equivalent to "cat /proc/sys/fs/file-nr" under Solaris to get the current number of open FDs? You mean the total number of open files in the system? kstat -n file_cache -s buf_inuse -- Daniel ___ opensolaris-discuss

Re: [osol-discuss] Re: getting current open FDs

2006-04-15 Thread Daniel Rock
alessioc schrieb: i mean the total number of open file descriptors, i'm not sure the command you reported shows this. (what i'm trying to transpose to solaris is the concept explained here: http://www.netadmintools.com/art295.html) Yes, the numbers should be the same. 1. On Solaris, there is

Re: [osol-discuss] Re: Re: getting current open FDs

2006-04-15 Thread Daniel Rock
alessioc schrieb: There's no such limit in Solaris so there's no reason to make the number of file*s in use easily observable. not "easily observable" means that i can only do something like this? n=0; for i in $(find /proc -name "fd" -type d); do n=$[$(ls -l $i | wc -l) + $n]; done; echo $n

Re: [osol-discuss] question concerning kstat's biostats, ufs_inode_cache, hsfs_hsnode_cache

2006-04-28 Thread Daniel Rock
Thomas Maier-Komor schrieb: Hi, I am once again looking at a kstat output and trying to understand what > some of these fields might mean and what their unit might be. > Unfortunately the units aren't documented anywhere, are they? Use the source, Luke! biostats is probably the statistics f

[osol-discuss] /usr/sbin/format: where is the -force flag?

2006-04-28 Thread Daniel Rock
Hi, this week I gave snv_36 a try (hadn't upgraded for a long time) - and this new "feature" (put in double quotes) was getting me in rage: 6194015 PSARC/2004/776 - Device in use checking for Solaris utilities What I normally do after Solaris installation is mirroring the boot disk via SVM.

Re: [osol-discuss] question concerning kstat's biostats, ufs_inode_cache, hsfs_hsnode_cache

2006-04-28 Thread Daniel Rock
Thomas Maier-Komor schrieb: I also iterate only once and search for the modules/classes of interest. Why do you use strncmp? Are ks_module and Co not guaranteed to be null terminated or did you mix it up with ks_name which includes the trailing id? Maybe just a leftover from an earlier implemen

Re: [osol-discuss] /usr/sbin/format: where is the -force flag?

2006-04-28 Thread Daniel Rock
Sarah Jelinek schrieb: Bill Sommerfeld wrote: It does allow you to change the sizes of partitions which are not in use, as long as they don't overlap in use partitions. It even lets you grow in use partitions. The heuristic of the vfstab being 'in use' could be improved upon however, which I

[osol-discuss] Fujitsu's position to OpenSolaris?

2006-05-04 Thread Daniel Rock
Hi, can anyone comment what is Fujitsu's position to OpenSolaris? They also build SPARC machines but currently cannot run Solaris Nevada. I was curious because I saw populated directories in .../platform/sun4us .../platform/FJSV,GPUSK .../platform/FJSV,GPUZC-L etc. so I tried booting snv_37 on a

Re: [osol-discuss] Re: Fujitsu's position to OpenSolaris?

2006-05-04 Thread Daniel Rock
UNIX admin schrieb: SunOS Release 5.10 Version Generic 64-bit Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Well, at least from the above we know that the kernel boots. The rest appears to be a problem with one of the kernel (fs) modules. W

[osol-discuss] IDE driver attach to "pseudo" RAID-Controller

2006-06-30 Thread Daniel Rock
Hi, I try to install Solaris on a new machine. This machine contains an IDE controller with some Host-RAID controller - besides that you normally can still access the controller as a plain old IDE controller. But the BIOS has been set to enable RAID functionality (I am not able to change the B

Re: [osol-discuss] IDE driver attach to "pseudo" RAID-Controller

2006-07-01 Thread Daniel Rock
Daniel Rock schrieb: Hi, I try to install Solaris on a new machine. This machine contains an > IDE controller with some Host-RAID controller - besides that you > normally can still access the controller as a plain old IDE controller. PCI class 01-04-00 (Mass storage RAID controller) i

Re: [osol-discuss] EOVERFLOW on 'cat /proc//status'

2006-09-15 Thread Daniel Rock
Thomas Maier-Komor schrieb: Hi, can anybody explain to me, what the reason for this might be? Please take a look at the following: [EMAIL PROTECTED]:/proc/700$ uname -a SunOS azalin 5.10 Generic_118833-22 sun4u sparc SUNW,Sun-Blade-2500 [EMAIL PROTECTED]:/proc/700$ ps -ef|grep 700 root

Re: [osol-discuss] kstat information

2006-10-03 Thread Daniel Rock
Louwtjie Burger schrieb: bash-3.00$ kstat -m unix -n vminfo module: unixinstance: 0 name: vminfo class:vm crtime 47.129589548 freemem 232290532919 snaptime

Re: [osol-discuss] Re: LAMP for Solaris aka SAMP

2006-10-19 Thread Daniel Rock
Patrick Mauritz schrieb: the biggest advantage of x86-64 over x86 is that it has a bunch registers more. so code tends to end up being more compact and faster in 64bit mode than in 32bit mode on x86. Faster: Yes, x86-64 is most of the time faster than ia32 code. Smaller: Usually no. Some exam

Re: [osol-discuss] Re: LAMP for Solaris aka SAMP

2006-10-19 Thread Daniel Rock
Frank Hofmann schrieb: You're comparing a bit apples and oranges there with the compiler options you used. 32 bit: compiler: cc [...] -fast -O -fast implies -xtarget=native which implies -xchip=native the -O after -fast shouldn't negate the -xchip=XXX selection. Daniel __

Re: [osol-discuss] Re: LAMP for Solaris aka SAMP

2006-10-19 Thread Daniel Rock
Joerg Schilling schrieb: 64 Bit code on Sparc is typically 5-10% slower, AMD64 code is typically 30% faster because there are twice as much registers. 30% is very optimistic. My test results vary between 30% slower and 200% faster depending on the application and compiler. On average I'd say A

Re: [osol-discuss] Re: Re: LAMP for Solaris aka SAMP

2006-10-22 Thread Daniel Rock
UNIX admin schrieb: Long story short: -xO5 is only good in tandem with a > feedback profile, otherwise chances are high that the > code will end up being bigger and slower. Short answer: The -xO5 code was faster than the -xO3 code even without profiling data. Short answer supplement: Performan

Re: [osol-discuss] Re: x86 vs SPARC

2006-10-26 Thread Daniel Rock
Gino Ruopolo schrieb: Galvin Maltby wrote: That's never been my experience. Not my experience neither. Also other sysadmin I know found the same when switched from Sparc to Opteron... Then you know the wrong sysadmins. Simple test: Compile some files in parallel (dmake -j X) on a 2 cpu bo

Re: [osol-discuss] Re: Where do I find information on reserved slices?

2006-11-03 Thread Daniel Rock
Jürgen Keil schrieb: I'm not sure; removing the "alternates" partition might be OK To get rid of this slice you have to run format in -e (expert) mode. Otherwise you won't be able to select slice 9 in the partition menu. If you also want to get rid of the boot slice (you don't boot from this

[osol-discuss] Tyan S2865: New BIOS release

2006-11-03 Thread Daniel Rock
Hi, for everyone also using a S2865 mainboard. Tyan has finally released a new BIOS version for this board. Highlights for Solaris: - EFI labels can now be used without hanging the system on reboot - smbios/prtdiag is now also working After a quick scan it now looks again on-par with the X210

Re: [osol-discuss] How to delete files as dos 'del *.java /s' on command line

2009-09-09 Thread Daniel Rock
Alexander Eremin schrieb: On Wed, 2009-09-09 at 05:18 -0700, Davide wrote: How can I delete files recursively in all subdirectories with .java extension? Under ms-dos I used to execute this: 'del *.java /s' I tried 'rm -rf *.java', on command line, but it didn't work, it simply shows me the ne

[osol-discuss] X hangs on snv130

2009-12-25 Thread Daniel Rock
Hello, after upgrading to snv130 (from snv129) X hangs on startup. The Xorg process seems stuck. The kernel prints messages like: WARNING: GPU hang detected try to reset ... wait for irq_queue seqno 2, now seqno 1 WARNING: drm_irq_install: irq already enabled WARNING: GPU hang detected try t

Re: [osol-discuss] X hangs on snv130

2009-12-25 Thread Daniel Rock
Am 25.12.2009 17:50, schrieb Malte Hahlbeck: I've got the same problem, but I don't know where to find the neccassary files. Could you help please? You need to replace the kernel modules /kernel/misc/drm /kernel/drv/i915 for 32 bit kernels, and /kernel/misc/amd64/drm /kernel/misc/amd64/i915

[osol-discuss] pax considered harmful

2010-06-13 Thread Daniel Rock
Hello, can anyone confirm my observations with the attached test script? pax corrupts files if they contain more than 57 holes in it. I just found out today by accident after copying a large backup file. I was able to reproduce the bug on Solaris 10 and snv133, on UFS and ZFS. Is pax in the

Re: [osol-discuss] pax considered harmful

2010-06-13 Thread Daniel Rock
Am 13.06.10 15:08, schrieb Volker A. Brandt: Daniel Rock writes: Hello, can anyone confirm my observations with the attached test script? pax corrupts files if they contain more than 57 holes in it. uname -a SunOS shelob 5.10 Generic_141414-02 sun4v sparc SUNW,Sun-Fire-T1000

Re: [osol-discuss] pax considered harmful

2010-06-13 Thread Daniel Rock
Am 13.06.2010 16:25, schrieb Volker A. Brandt: foreach f ( 128 256 512 1024 2048 4096 ) Do you test on tmpfs? Could you please re-run the tests on UFS or ZFS? I will revive my old SPARC machine and rerun the tests myself on SPARC. But I first have to patch it (first time I switched the mach

Re: [osol-discuss] pax considered harmful

2010-06-13 Thread Daniel Rock
Am 13.06.2010 15:08, schrieb Volker A. Brandt: Daniel Rock writes: Hello, can anyone confirm my observations with the attached test script? pax corrupts files if they contain more than 57 holes in it. uname -a SunOS shelob 5.10 Generic_141414-02 sun4v sparc SUNW,Sun-Fire-T1000 It seems