Sponsored Content
Full Discussion: Creating file system
Operating Systems AIX Creating file system Post 303016211 by khaled_ly84 on Sunday 22nd of April 2018 05:12:25 AM
Old 04-22-2018
Creating file system

I'm trying to create file system in lv Ctxdata but I got this message

Code:
# crfs -v jfs2 -d Ctxdata -m /Ctxfs -A yes

File system created successfully."no file created" 
2621156 kilobytes total disk space.
/etc/locks/fs/Ctxdata: No space left on device

# crfs -v jfs2 -d Ctxdata -m /Ctxfs -A yes
File system created successfully.
2621156 kilobytes total disk space.
/etc/locks/fs/Ctxdata: No space left on device
# lsvg -l datavg
datavg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
loglv00             jfs2log    1       1       1    open/syncd    N/A
fslv00              jfs2       7       7       1    open/syncd    /data
Ctxdata             jfs2       20      20      1    closed/syncd  N/A

Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!
Creating file system-untitledjpg

Last edited by RudiC; 04-22-2018 at 07:10 AM.. Reason: Added CODE tags.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Creating new system Makefile template

I am attempting to set-up a Makefile to use for a new system on a Sun Unix machine. I am new to creating Makefiles. I am trying to start simply by compiling a program. I am getting the following error message but an uncertain what 'Error Code 1' is. Is there a web site with Error Codes... (1 Reply)
Discussion started by: CaptainRo
1 Replies

2. Shell Programming and Scripting

Shell script for Creating Directory with name as system date

Dear Sir/Madam, I need a bit of your help. The problem is as follows : I have to create a directory in unix whose name is that of system date in the dd_mon_yyyy format . I am able to extract a date in required format ina variable , but when i'm using this variable in mkdir it is not... (7 Replies)
Discussion started by: aarora_98
7 Replies

3. UNIX for Dummies Questions & Answers

how to mount a file system of a remote machine to local file system

Hi friends, In my case, there are serveral PCs running Linux in a LAN. I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory. I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies

4. UNIX for Dummies Questions & Answers

UNIX System Call for creating process

Hell Sir, This is chanikya Is there any System call which behaves just like fork but i dont want to return back two times to the calling func. In the following ex iam creating a child process in the called func but the ex prints two times IN MAIN. ex :- calling() { fork(); } ... (2 Replies)
Discussion started by: chanikya
2 Replies

5. Filesystems, Disks and Memory

Creating a File System

Hello everyone, I would like some help in the following: I'm running a Compaq Tru64 UNIX V5.1A (Rev. 1885) and I would like to create a sub-filesystem under a directory of a specific account. However I 've never done something like that before so any help would be appreciated. Thanx in... (0 Replies)
Discussion started by: alex7
0 Replies

6. UNIX for Advanced & Expert Users

Creating System Call, need PID of caller

Hey I am creating a new system call that needs to know the PID of the calling process. I am new to coding in the kernel, so I don't know if this is possible... Any help would be nice. Thanks! Hapatchi (4 Replies)
Discussion started by: Hapatchi
4 Replies

7. UNIX for Dummies Questions & Answers

Creating a File system with required permissions for all DIR's created in

Hello All, I am application admin. I need to clear all the temporary files cleared by the applications. I need help/suggestion that is there any way to create a file system such that every Dir created in by any user will have 775 permissions. So, that i can simply clear the temporary file which... (6 Replies)
Discussion started by: firestar
6 Replies

8. Programming

Creating a simple Help Desk system in PHP

hi guys i'm new to php,,i'm asked to develop a simple online help desk (where the admin can view the problem an forward it to another one to handle it and so on) or get a ready sytem then modify alil on it but i dont know where to start ir to find any suggestion please? (2 Replies)
Discussion started by: kedah160
2 Replies

9. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies

10. Shell Programming and Scripting

UNIX file system to Linux file system migration

We would be migrating UNIX file system to Linux file system. We do have many directory and sub directories with files. after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies
mkfs_vxfs(1M)															     mkfs_vxfs(1M)

NAME
mkfs_vxfs: mkfs - construct a VxFS file system SYNOPSIS
[generic_options] specific_options] special [size] DESCRIPTION
The command constructs a file system by writing on the special device file (for example, unless the flag is provided. special specifies the special device file location (or character device node) of a particular storage device. The numeric size specifies the number of 1024-byte sectors in the file system. If size is not specified, determines the size of the special device. size can also be specified with a suffix to indicate a unit of measure other than sectors. Append to indicate the value is in kilobytes; to indicate megabytes; to indicate gigabytes; or to indicate terabytes. An appended letter can be separated from the number by a spac by enclosing the letter and number in a set of quotes (for example, "512 k"). The command builds a file system with a root directory and a lost+found directory (see fsck(1M)). The file system can have disk layout Version 4, Version 5, or Version 6. Version 4 adds support for large files and Access Control Lists. Version 5 adds support for 32 ter- abyte file systems. Version 6 adds support for 256 terabyte file systems and various extended VxFS features such as multi-volume support and cross-platform data sharing. The default is Version 6. The number of inodes allocated to a file system depends on the disk layout version. Inodes are allocated dynamically. There are a minimum number of inodes allocated to the file system by and any other inode allocations are done on an as-needed basis during file system use. NOTES
The size argument is ignored when the volume is part of a volume set. The full size of each volume is used instead. The output of the option is not sufficient to recreate a multi-volume file system. The command fails if the option's output is used for this purpose. OPTIONS
generic_options Supported by the generic command (see mkfs(1M)). Specifies the VxFS file system type. Displays the command line that was used to create the file system. The file system must already exist. This option also enables you to determine the parameters used to construct the file system. Echoes the completed command line, but does not perform the action. The command line is generated by incorporating the specified options and arguments with other information derived from This option allows the user to verify the command line. Specifies the VxFS-specific options in a comma-separated list. The arguments and are no longer supported. The following arguments are available: Do not write the file system to the special file. Using gives all the information needed to create a file system but does not create it. Creates a file system in a file. Used for debugging only; size must be specified. bsize is the block size for files on the file system and represents the smallest amount of disk space allocated to a file. bsize must be a power of 2 selected from the range 1024 bytes to 8192 bytes. The default is 1024 bytes for file systems smaller than two terabytes. For file systems larger than two terabytes, the maximum file system size is dependent on the block size. A block size of 1 KB allows a maximum file system size of up to 32 terabytes, a block size of 2 KB allows a maximum file system size of up to 64 terabytes, a block size of 4 KB allows a maximum file system size of up to 128 terabytes, and a block size of 8 KB allows for a file system up to 256 terabytes. These maximum sizes are for disk layout Version 6. The actual maximum file system sizes are slightly less than the above values. The exact values can be found in the Veritas File System Administrator's Guide. If bsize is not specified, the block size defaults to the appropriate value when a file sys- tem is created. inosize is the on-disk inode structure size for files on the file system. The valid values are 256 and 512. The default is 256. There is generally no reason to increase the inode size, and not using the default value can adversely affect file system performance. Controls the flag for the file system. If is specified, the bit is set and files two gigabytes or larger can be created. If is speci- fied, the bit is cleared and files created on the file system are limited to less than two gigabytes. The default is mkfs(1M) and fsadm_vxfs(1M)). VxFS file systems are created by default with the option enabled. Be sure that any system administration utilities used on VxFS file systems, such as backup, operate on large files. n is the number of file system blocks to allocate for an activity logging area. The minimum value is the number of blocks that make the log no less than 256 KB. The maximum value for n is the number of blocks that make the log no greater than 262,144 kilobytes (256 MB) on a file system with disk layout Version 6, or 16,384 kilobytes (16 MB) on a file system with disk layout Version 4 or 5. For a small file system, the default may be smaller to avoid wasting space. A large log provides better performance on metadata-intensive workloads. A small log uses less space on the disk and leaves more room for file data. For example, an NFS-intensive workload performs better with a large log; a small floppy device requires a small log. The amount of virtual memory required by (see fsck_vxfs(1M)) to check a VxFS file system is proportional to the size of the log. The maximum amount of virtual memory used is twice the size of the log. Therefore, the sum of physical memory and swap space must be at least 32 MB to ensure that a file system with a 16384 KB log can be cleaned. On small systems, be careful not to create a file system with a log larger than half the available swap space. A maximum log size of one third the total of memory and swap space is a good general rule. See swapinfo(1M). n is the VxFS disk layout version number. Valid values are 4, 5, and 6. Version 6 disk layouts support file systems up to 256 terabytes in size, although file systems currently cannot be created with a size of 8 exabytes. The default is disk layout Version 6. EXAMPLES
Create a VxFS file system on Veritas Volume Manager volume at the special device file /dev/vx/rdsk/dg1/vol1 with a size of 1 GB. Determine the block size, disk layout version, inode size, log size, and device size of a VxFS file system. SEE ALSO
fsadm_vxfs(1M), fsck(1M), fsck_vxfs(1M), mkfs(1M), mount_vxfs(1M), swapinfo(1M), dir(4), fs_vxfs(4). Veritas Volume Manager Administrator's Guide mkfs_vxfs(1M)
All times are GMT -4. The time now is 01:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy