Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dpm_modifyfs(3) [debian man page]

DPM_MODIFYFS(3) 					       DPM Library Functions						   DPM_MODIFYFS(3)

NAME
dpm_modifyfs - modify the parameters of a disk pool filesystem SYNOPSIS
#include <sys/types.h> #include "dpm_api.h" int dpm_modifyfs (char *server, char *fs, int status, int weight) DESCRIPTION
dpm_modifyfs modifies the parameters of a disk pool filesystem. server specifies the host name of the disk server where this filesystem is mounted. fs specifies the mount point of the dedicated filesystem. status Initial status of this filesystem. It can be set to 0 or FS_DISABLED or FS_RDONLY. (-1 will tell the server to not change the cur- rent value). weight specifies the weight of the filesystem. This is used during the filesystem selection. The value must be positive (-1 will tell the server to not change the current value). It is recommended to use a value lower than 10. This function requires ADMIN privilege. RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately. ERRORS
ENOENT Filesystem does not exist. EACCES The caller does not have ADMIN privilege. EFAULT server or fs is a NULL pointer. EINVAL The length of server exceeds CA_MAXHOSTNAMELEN or the length of fs exceeds 79. SENOSHOST Host unknown. SEINTERNAL Database error. SECOMERR Communication error. LCG
$Date$ DPM_MODIFYFS(3)

Check Out this Related Man Page

DPM-MODIFYFS(1) 					    DPM Administrator Commands						   DPM-MODIFYFS(1)

NAME
dpm-modifyfs - modify the parameters of a disk pool filesystem SYNOPSIS
dpm-modifyfs --server fs_server --fs fs_name [ --st status ] [ --weight weight ] [ --help ] DESCRIPTION
dpm-modifyfs modifies the parameters of a disk pool filesystem. This command requires ADMIN privilege. OPTIONS
server specifies the host name of the disk server where this filesystem is mounted. fs specifies the mount point of the dedicated filesystem. status New status of this filesystem. It can be set to 0 (enabled read/write) or DISABLED or RDONLY. This can be either alphanumeric or the corresponding numeric value. weight specifies the weight of the filesystem. This is used during the filesystem selection. The value must be positive. It is recommended to use a value lower than 10. EXAMPLE
dpm-modifyfs --server sehost --fs /data --st RDONLY EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed. SEE ALSO
dpm(1), dpm_modifyfs(3) LCG
$Date$ DPM-MODIFYFS(1)
Man Page

15 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

SCIO Unix Filesystem type - Urgent

I'm installing SCO Unix Open Server 5.05 on an IBM 300PL Desktop with a 60Gig HDD (IDE) and 32 MB physical RAM. When the install goes to the phase where the hard disk needs to be partitioned, I can only see 8 Gig out of the 60Gig that I have on the mahine. I have tried the option of display... (2 Replies)
Discussion started by: budrito
2 Replies

2. Filesystems, Disks and Memory

re-partiton / re-installation on Redhat 7.3

Hello, me and a friend currently operate a dedicated server our /dev/hda2 is starting to get full and we have a lot of information in there we would like to keep, so we are thinking about adding an additional 120GB HD then reinstall the OS to re-partition the partitions, our current setup looks... (3 Replies)
Discussion started by: shaft
3 Replies

3. UNIX for Dummies Questions & Answers

GREPing for Nulls

I just had a filesystem / file corruption issue on my HSP's server due to disk capacity limits and fileswapping. I discovered that certain files got corrupted when fileswapping was not successful and they ended up with a string of control characters, or what I believe to be nulls, in them. Does... (4 Replies)
Discussion started by: Dr. DOT
4 Replies

4. UNIX for Dummies Questions & Answers

unix command

how can list files within specified date range? how can i checks if local filesystem exceeds a certain limit? THANKS! regards vivek.s (3 Replies)
Discussion started by: vivekshankar
3 Replies

5. Filesystems, Disks and Memory

disk space

Hi experts i am new in unix and informix and would like to ask 2 questions 1) my server shows when using df -k fs 1024-block used available /usr 10079072 3668670 6381144 does this mean i have 10GB, and used up 3.7GB and available 6.3GB ??? is... (3 Replies)
Discussion started by: kingsto88
3 Replies

6. UNIX for Dummies Questions & Answers

How to know about filesystem

HI Gurus, I would like to know how can i know the dates when the filesystem was added to the server. Thanks Shaan (3 Replies)
Discussion started by: shaan_dmp
3 Replies

7. Solaris

Making filesystem on presented lun

Hi, I am working on SunOS perlrate 5.10 Generic_127111-09 sun4v sparc SUNW,SPARC-Enterprise-T5120. The server has an LSISAS3801E HBA card installed and is connected to a StorageTek 2530 array. I have made a volume on arrary using Common Array Manager. I can see the volume on server: ... (2 Replies)
Discussion started by: seanban
2 Replies

8. AIX

how to use a scsi disk??

hi, i removed a FC disk (it has a single VG on it) from a AIX 6.1 server and exported it to another AIX server. after doing cfgmgr -v .. the disk showed up in the second AIX 6.1 server. Now how can i see the data which is on the disk from the second AIX server. (5 Replies)
Discussion started by: navadeep
5 Replies

9. AIX

What is the cause of USR filesystem full

we are using aix 5.3 and we notice that the filesystem /usr is almost full. we have an oracle database running on the server.what are the cause why this filesystem is almost full.what should we do to free some space on this filesystem beside increase the size?thanks (4 Replies)
Discussion started by: paulexis
4 Replies

10. Solaris

Monitor server's health

Dear all, There wasn't any monitoring on our server except on the filesystem. Therefore, I was wondering anything i should do on a daily basis to check on the server's status, health, hardware, or any other thing as a disaster prevention? Also, what command i should use to do that? ... (2 Replies)
Discussion started by: beginningDBA
2 Replies

11. Solaris

svc:/system/filesystem/local is always in maintenance status

Hello Friends, I need to change network filesystem status as online but it always seems in maintenance mode, I appreciate your any suggestion to change its state as online. shell>svcadm enable svc:/system/filesystem/local shell>svcs -l svc:/system/filesystem/local fmri ... (4 Replies)
Discussion started by: EAGL€
4 Replies

12. Red Hat

Core Dumping?

How to now if the server is core dumping into the same filesystem? (4 Replies)
Discussion started by: 300zxmuro
4 Replies

13. AIX

choosing correct VG for Filesystem extend

Hi Gurus, I have Aix 5.3 server and would like to extend the following filesystem. Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/lv_mecdr 120.00 12.04 90% 560973 14% /home/mecdrBut there's only 16G for the VG, may be i can expand it... (11 Replies)
Discussion started by: thepurple
11 Replies

14. AIX

Filesystem Unmounted

Please help me to find or how the filesystem got unmounted without our(Admin) knowledge? :confused::confused: It was an Application filesystem and server was not rebooted. Customer is asking the RCA that how their filesystem got umounted? bash-3.2# uptime 02:49PM up 193 days, 18:59, 7... (3 Replies)
Discussion started by: Thala
3 Replies

15. AIX

Automount issue

Hi there, I have a strange problem, I have a NFS server running AIX 7.1 TL3 SP3, let's call it server A. I have another AIX 7.1 TL3 SP3 server, let's call it server B, that's automounting a filesystem from server A. When server B is automounting the filesystem from server A, I can't see any... (3 Replies)
Discussion started by: ce9888
3 Replies