Re: [Dorset] Partition folder capacity

2013-05-10 Thread Justin Stringfellow



Tuning the maxusers as a means of increasing the available inodes was
taught by Sun in their 2.x Network Admin course and was included in the
NFS Server Performance and Tuning guide. So as a recommended method, I
regard it as having been safe, useful and effective.


Tuning maxusers is a very old fashioned approach to system tuning; are 
you sure you weren't told to do this in relation to SunOS4.x, which was 
the earlier Sun UNIX OS, and a BSD derivative? I believe you absolutely 
do tune maxusers there, but not Solaris 2.x. Typically you would tune 
more specifically - e.g. ncsize for the DNLC, nrnodes for NFS inode 
count, etc. Turning the wick up on maxusers will change sizing for the 
whole system and could easily result in negative performance gains.


cheers
--justin




--
Next meeting:  Bournemouth, Tuesday, 2013-06-04 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Partition folder capacity

2013-05-10 Thread p.lane

Hi Justin.
Yes, definitely Solaris 2.x
I was working mainly with 2.4-2.6 (previously with SunOS also), but it 
is in the 2.x Network admin course material, I just checked it. I took 
that course in 2000.
I'm sure I've only used that feature once tho as I said , after upping 
the capacity of an EMC array for NEC (watching the snow fall on the car 
park overnight while restoring from tape backup).
And you're right, it is no longer relevant on modern Solaris systems, 
just thought something similar might be available in Linux instead of a 
rebuild.
Performance may have been an issues some years ago, but not now. 
Similarly reducing minfree is a good idea these days as filesystems are 
so large and systems are so quick. you wouldn't 'tunefs -m5 /'  on 
an 8gb root drive, but you would on an 800gb filesystem.

Cheers,
Phil Lane.

On 09/05/2013 18:03, Justin Stringfellow wrote:



Tuning the maxusers as a means of increasing the available inodes was
taught by Sun in their 2.x Network Admin course and was included in the
NFS Server Performance and Tuning guide. So as a recommended method, I
regard it as having been safe, useful and effective.


Tuning maxusers is a very old fashioned approach to system tuning; are 
you sure you weren't told to do this in relation to SunOS4.x, which 
was the earlier Sun UNIX OS, and a BSD derivative? I believe you 
absolutely do tune maxusers there, but not Solaris 2.x. Typically you 
would tune more specifically - e.g. ncsize for the DNLC, nrnodes for 
NFS inode count, etc. Turning the wick up on maxusers will change 
sizing for the whole system and could easily result in negative 
performance gains.


cheers
--justin







--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-06-04 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Partition folder capacity

2013-05-09 Thread p.lane

On 07/05/2013 19:03, Justin Stringfellow wrote:

Tuning maxusers on Solaris is a bad idea, not sure about Linux. It's an ancient 
tunable whose meaning has long since ceased to control the max number of 
interactive users and it serves more as a master control knob for sizing the 
whole system. The impact of fiddling with it is potentially large. Much better 
to find the more specific tunable for the thing you want to change.

cheers,
--justin

p.lane p.l...@lectrics.co.uk wrote:


On 07/05/2013 18:46, p.lane wrote:

On 07/05/2013 15:42, C A Wills wrote:

Hi Bob

Thanks for the info but using df -i only lists info of the laptop I'm
using although the remote partition is 'mounted' on the desktop and I
can 'see' the files on it in Nautilus.
The only partitions listed are sda2 (root)  sda6 (home).

*C A Wills*

/Powered by Linux  Open Source Software/


On 07/05/13 12:39, Bob Dunlop wrote:

$ df -i



 From my Solaris admin I remember having to increase the number of
inodes on an expanded filesystem on an EMC array.

/etc/bin/nfstsat

the size of the inode cache can be increased as it is a quota system
tied to the 'maxuser' parameter.
increase the 'maxusers' parameter in the /etc/system file.
By default, it is set to the amount (number) of RAM present.

set maxusers = 1024

  increasing this parameter increases the number of available inodes. A
reboot is required.
The system will recompute the size of the inode cache.
Not sure how this translates to Linux, but is worth a search.
bon chance.


btw...jfs2 increases inode allocation on the fly..allegedly.

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-05-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue
Tuning the maxusers as a means of increasing the available inodes was 
taught by Sun in their 2.x Network Admin course and was included in the 
NFS Server Performance and Tuning guide. So as a recommended method, I 
regard it as having been safe, useful and effective.


--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-06-04 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Partition folder capacity

2013-05-08 Thread Justin Stringfellow
Tuning maxusers on Solaris is a bad idea, not sure about Linux. It's an ancient 
tunable whose meaning has long since ceased to control the max number of 
interactive users and it serves more as a master control knob for sizing the 
whole system. The impact of fiddling with it is potentially large. Much better 
to find the more specific tunable for the thing you want to change.

cheers,
--justin

p.lane p.l...@lectrics.co.uk wrote:

On 07/05/2013 18:46, p.lane wrote:
 On 07/05/2013 15:42, C A Wills wrote:
 Hi Bob

 Thanks for the info but using df -i only lists info of the laptop I'm 
 using although the remote partition is 'mounted' on the desktop and I 
 can 'see' the files on it in Nautilus.
 The only partitions listed are sda2 (root)  sda6 (home).

 *C A Wills*

 /Powered by Linux  Open Source Software/


 On 07/05/13 12:39, Bob Dunlop wrote:
 $ df -i


 From my Solaris admin I remember having to increase the number of 
 inodes on an expanded filesystem on an EMC array.

 /etc/bin/nfstsat

 the size of the inode cache can be increased as it is a quota system 
 tied to the 'maxuser' parameter.
 increase the 'maxusers' parameter in the /etc/system file.
 By default, it is set to the amount (number) of RAM present.

 set maxusers = 1024

  increasing this parameter increases the number of available inodes. A 
 reboot is required.
 The system will recompute the size of the inode cache.
 Not sure how this translates to Linux, but is worth a search.
 bon chance.

btw...jfs2 increases inode allocation on the fly..allegedly.

-- 
P.Lane
CEO Lectrics Ltd
Poole
Dorset


-- 
Next meeting:  Bournemouth, Tuesday, 2013-05-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue
-- 
Next meeting:  Bournemouth, Tuesday, 2013-05-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Partition folder capacity

2013-05-08 Thread Ralph Corderoy
Hi Clive,

 I have been trying to copy over 1 folder with all sub-folders and
 files; all appears to go well but after it is finished the folder
 shows no sub-folders or files! Empty. tried this 4 times in various
 ways.

How is Nautilus accessing this remote ext4 filesystem?  IOW, what do you
tell it is the location?  (I'm unfamiliar with Nautilus.)

I'd ditch trying to copy lots.  Instead, just see if you can create a
new file, e.g. save a Libre Office document, on it.  First at the root
of it and if that fails, try inside one of the existing directories.  If
it appears to work, turn off the NAS and see if it's still there when
turned back on.

If that's OK, do a similar test but trying to create a new directory
(folder) instead.

Does the NAS offer a means to check the filesystems, e.g. through its
web interface?  Perhaps the NAS is switching the FS to read-only due to
detecting errors as it starts to write.

Cheers, Ralph.

-- 
Next meeting:  Bournemouth, Tuesday, 2013-06-04 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


[Dorset] Partition folder capacity

2013-05-07 Thread Clive A Wills

Hi All

See you tonight at the Broadway all being well.

Since arriving back from Switzerland I've been trying to copy all the 
photo's onto my hard drive which is connected to the router, acts as a 
network store and backup.
Up till now all has gone well but I've not been able to copy the 
files/folders across for this last visit.
The 350Gb disk has 3 partitions, 2 as Ext4  1 Fat32, the largest is the 
one in use (Ext4). There are 123 main folders in this partition which 
take up approx: 63.5Gb of the 166Gb available.
I have been trying to copy over 1 folder with all sub-folders and files; 
all appears to go well but after it is finished the folder shows no 
sub-folders or files! Empty. tried this 4 times in various ways.
Is there a maximum number of folders you can have in a partition? Is 
this the problem?

--
*Clive Wills*

/Powered by Linux  Open Source Software///


--
Next meeting:  Bournemouth, Tuesday, 2013-05-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Partition folder capacity

2013-05-07 Thread Bob Dunlop
Hi,

 Is there a maximum number of folders you can have in a partition? Is 
 this the problem?

I don't know about ext4 specifically but most file systems have a
preset maximum number of files/directories that you can create.
Each file/directory requires one i-node.

The numbers are normally set high enough that you're likely to run
out of space first.

You can find the values set for your file systems with the command
df -i


$ df -i
Filesystem   Inodes   IUsedIFree IUse% Mounted on
rootfs  3203072  672377  2530695   21% /
/dev/md126  3203072  672377  2530695   21% /
devtmpfs 2216671516   2201511% /dev
tmpfs2217591044   2207151% /run
shm  221759   1   2217581% /dev/shm
/dev/md125 27189248 2046982 251422668% /home

-- 
Bob Dunlop

-- 
Next meeting:  Bournemouth, Tuesday, 2013-05-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Partition folder capacity

2013-05-07 Thread C A Wills

Hi Bob

Thanks for the info but using df -i only lists info of the laptop I'm 
using although the remote partition is 'mounted' on the desktop and I 
can 'see' the files on it in Nautilus.

The only partitions listed are sda2 (root)  sda6 (home).

*C A Wills*

/Powered by Linux  Open Source Software/


On 07/05/13 12:39, Bob Dunlop wrote:

$ df -i



--
Next meeting:  Bournemouth, Tuesday, 2013-05-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Partition folder capacity

2013-05-07 Thread p.lane

On 07/05/2013 15:42, C A Wills wrote:

Hi Bob

Thanks for the info but using df -i only lists info of the laptop I'm 
using although the remote partition is 'mounted' on the desktop and I 
can 'see' the files on it in Nautilus.

The only partitions listed are sda2 (root)  sda6 (home).

*C A Wills*

/Powered by Linux  Open Source Software/


On 07/05/13 12:39, Bob Dunlop wrote:

$ df -i



From my Solaris admin I remember having to increase the number of 
inodes on an expanded filesystem on an EMC array.


/etc/bin/nfstsat

the size of the inode cache can be increased as it is a quota system 
tied to the 'maxuser' parameter.

increase the 'maxusers' parameter in the /etc/system file.
By default, it is set to the amount (number) of RAM present.

set maxusers = 1024

 increasing this parameter increases the number of available inodes. A 
reboot is required.

The system will recompute the size of the inode cache.
Not sure how this translates to Linux, but is worth a search.
bon chance.

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-05-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue