10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
hi all,
i have installed quota on my centos 7 machine and its what im after (setting size limit on users, so they cant fill the hard drive)
i want to now make this part of my create user script for my sftp server so i want to do a echo and a read command so i capture the limit they enter... (0 Replies)
Discussion started by: robertkwild
0 Replies
2. HP-UX
Accordingly a lot of manuals - if you have block size 8KB and trying to write a 1KB file to the block, as result you waste 7KB of the block space. But recently I noticed about Fragments of File Block. In same case if you have File Block 8KB and Fragment size 1KB - you can save your block space,... (6 Replies)
Discussion started by: jess_t03
6 Replies
3. UNIX for Advanced & Expert Users
Hello,
in one default UFS filesystem we have 8K block size (bsize) and 1K fragmentsize (fsize). At this scenary I thought all "FileSytem IO" will be 8K (or greater) but never smaller than the fragment size (1K). If a UFS fragment/blocksize is allwasy several ADJACENTS sectors on disk (in a ... (4 Replies)
Discussion started by: rarino2
4 Replies
4. Programming
the error occurs in the function() "add" used...
#include<stdio.h>
#include<malloc.h>
struct node
{
int exp;
int coef;
struct node * link;
};
struct node * create_list(struct node *,int,int);
void display(struct node *);
struct node * add(struct node *,struct node *);
... (3 Replies)
Discussion started by: mscoder
3 Replies
5. Shell Programming and Scripting
Hi,
I have a simple question about I/O redirection. the question is:
"How can I redirect all characters from a Bash screen to a file?"
Let me describe a little more: I know about I/O Redirection in Bash.
and also about stdin/stdout/stderr. something like: # ls 2>&1 1>ls.out
But!... (11 Replies)
Discussion started by: siavash
11 Replies
6. Filesystems, Disks and Memory
Whenever i run,
# fsck -F ufs /dev/dsk/c0t0d0s7
The following error prompt out:-
** /dev/dsk/c0t0d0s7
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck -o b=#
where # is the alternate super block. SEE fsck_ufs(1M).
... (3 Replies)
Discussion started by: beginningDBA
3 Replies
7. AIX
Hi,
I see from lsvg the total used PPs is 1050 (67200 megabytes), but when I check the disk space with df command I can only see 31G total space, can somebody tell how this come?
Thanks!
Victor
# lsvg
rootvg
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: ... (2 Replies)
Discussion started by: victorcheung
2 Replies
8. Filesystems, Disks and Memory
I had a power outage a day ago and when the power came back on my FreeBSD 4.6 webserver had problems. It said it was unable to mount /var and made me start in single user mode and said to run fsck MANUALY. So i did and this is now what i get.
www# fsck /dev/ad0s1e
** /dev/ad0s1e
BAD SUPER... (4 Replies)
Discussion started by: matthewbane
4 Replies
9. AIX
Hello, I am trying to print reports from our aix system to a Savin Printer. The trouble is that the reports come out enlarged on it. The same report comes out fine though on a regular laser printer or pick ticket printer. Windows prints fine to the savin, Its just from our AIX system and... (2 Replies)
Discussion started by: h1timmboy
2 Replies
10. Solaris
how do you determine block size for a file system? In solaris 5.8 (3 Replies)
Discussion started by: csaunders
3 Replies