01-16-2019
Creating filesystem in LDOMs
Hi,
I have a task of creating a UFS filesystem in an LDOM. It is located in a hypervisor (CDOM).
The storage has been provisioned to the CDOM. How do I make it reflect to the LDOM, and then from there configure/set up the filesystem in the LDOM?
Please help.
10 More Discussions You Might Find Interesting
1. AIX
I need to create a simple shell script to check filesystems space in a file system called "/arch_nb" then based on the percentage use either run another script or exit.
I was thinking of something simple along the lines of:
df -k | then some action to pipe for percentage used
...place... (10 Replies)
Discussion started by: heprox
10 Replies
2. AIX
Hi everybody,
Is it possible to create a Shared Filesystem on Network to be accessed from 2 Systems?
Both systems are AIX but with different versions. One of these systems is AIX 4.3 & the other is AIX 5.2.
Thanks in advanced (8 Replies)
Discussion started by: aldowsary
8 Replies
3. Solaris
Hello - I am finding difficulty in creating and allocating correct size to File Systems on solarix x86 box. Please see below contents I followed on screen and in the end It shows that /app file system is created of size 135GB , I wanted it to be 30gb as mentioned during 'format' command in 'Enter... (7 Replies)
Discussion started by: panchpan
7 Replies
4. Solaris
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1d0s0 4.5G 4.3G 129M 98% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K ... (4 Replies)
Discussion started by: seyiisq
4 Replies
5. Filesystems, Disks and Memory
Hi all,
I would like to ask on how to create 2MB partition on a Compact Flash card. It supposed to be of FAT12 type, and the CF capacity is 4GB. I try to do the partitioning and specify the size as 2MB but the partition editor automatically resize it to 8MB. I know that this is possible and the... (4 Replies)
Discussion started by: archayl
4 Replies
6. Red Hat
I'm new to linux and need information on how do I create a filesytem on a dedicated on LUN for RHEL 4 and 5? I want the filesystem to be a ext3
---------- Post updated at 10:00 AM ---------- Previous update was at 08:56 AM ----------
Found the answer. This thread can be closed. (1 Reply)
Discussion started by: soupbone38
1 Replies
7. Linux
I created a new filesystem using dd and mounted:
I have a filesystem /FAW with 1Terra space
/dev/sdb1 1151331444 24742604 1068104612 3% /FAW
Steps I followed to create a new filesystem
# dd if=/dev/zero of=/FAW/vms/linux_vm/disk2.img bs=1 count=1024 seek=500G
# mke2fs... (10 Replies)
Discussion started by: sriram003
10 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local.
Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies
9. AIX
Hi experts,
Need help on the below error please.
I am creating Filesystem and it fails with the below errors :(
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
0518-506 odmget: Cannot open object class PdAt
... (10 Replies)
Discussion started by: EngnrRG
10 Replies
10. AIX
Hello Team,
In a application filesystem, there is a process keep creating the log files. Due to that the filesystem keep getting full. Please let me know how to identify the process which is keep writing in the filesystem.
fuser -u <FS> will show only the user who using the filesystem.... (3 Replies)
Discussion started by: gowthamakanthan
3 Replies
LEARN ABOUT CENTOS
fstrim
FSTRIM(8) System Administration FSTRIM(8)
NAME
fstrim - discard unused blocks on a mounted filesystem
SYNOPSIS
fstrim [-o offset] [-l length] [-m minimum-free-extent] [-v] mountpoint
DESCRIPTION
fstrim is used on a mounted filesystem to discard (or "trim") blocks which are not in use by the filesystem. This is useful for solid-
state drives (SSDs) and thinly-provisioned storage.
By default, fstrim will discard all unused blocks in the filesystem. Options may be used to modify this behavior based on range or size,
as explained below.
The mountpoint argument is the pathname of the directory where the filesystem is mounted.
OPTIONS
The offset, length, and minimum-free-extent arguments may be followed by the multiplicative suffixes KiB=1024, MiB=1024*1024, and so on for
GiB, TiB, PiB, EiB, ZiB and YiB (the "iB" is optional, e.g. "K" has the same meaning as "KiB") or the suffixes KB=1000, MB=1000*1000, and
so on for GB, TB, PB, EB, ZB and YB.
-h, --help
Print help and exit.
-o, --offset offset
Byte offset in filesystem from which to begin searching for free blocks to discard. Default value is zero, starting at the begin-
ning of the filesystem.
-l, --length length
Number of bytes after starting point to search for free blocks to discard. If the specified value extends past the end of the
filesystem, fstrim will stop at the filesystem size boundary. Default value extends to the end of the filesystem.
-m, --minimum minimum-free-extent
Minimum contiguous free range to discard, in bytes. (This value is internally rounded up to a multiple of the filesystem block
size). Free ranges smaller than this will be ignored. By increasing this value, the fstrim operation will complete more quickly
for filesystems with badly fragmented freespace, although not all blocks will be discarded. Default value is zero, discard every
free block.
-v, --verbose
Verbose execution. When specified fstrim will output the number of bytes passed from the filesystem down the block stack to the
device for potential discard. This number is a maximum discard amount from the storage device's perspective, because FITRIM ioctl
called repeated will keep sending the same sectors for discard repeatedly.
fstrim will report the same potential discard bytes each time, but only sectors which had been written to between the discards would
actually be discarded by the storage device. Further, the kernel block layer reserves the right to adjust the discard ranges to fit
raid stripe geometry, non-trim capable devices in a LVM setup, etc. These reductions would not be reflected in fstrim_range.len
(the --length option).
AUTHOR
Lukas Czerner <lczerner@redhat.com>
Karel Zak <kzak@redhat.com>
SEE ALSO
mount(8)
AVAILABILITY
The fstrim command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux November 2010 FSTRIM(8)