E2LABEL(8) System Manager's Manual E2LABEL(8)NAME
e2label - Change the label on an ext2 filesystem
SYNOPSIS
e2label device [ new-label ]
DESCRIPTION
e2label will display or change the filesystem label on the ext2 filesystem located on device.
If the optional argument new-label is not present, e2label will simply display the current filesystem label.
If the optional argument new-label is present, then e2label will set the filesystem label to be new-label. Ext2 filesystem labels can be
at most 16 characters long; if new-label is longer than 16 characters, e2label will truncate it and print a warning message.
It is also possible to set the filesystem label using the -L option of tune2fs(8).
AUTHOR
e2label was written by Theodore Ts'o (tytso@mit.edu).
AVAILABILITY
e2label is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.
SEE ALSO mke2fs(8), tune2fs(8)E2fsprogs version 1.32 November 2002 E2LABEL(8)
Check Out this Related Man Page
xfs_admin(8) System Manager's Manual xfs_admin(8)NAME
xfs_admin - change parameters of an XFS filesystem
SYNOPSIS
xfs_admin [ -eflu ] [ -c 0|1 ] [ -L label ] [ -U uuid ] device
DESCRIPTION
xfs_admin uses the xfs_db(8) command to modify various parameters of a filesystem.
Devices that are mounted cannot be modified. Administrators must unmount filesystems before xfs_admin or xfs_db(8) can convert parameters.
A number of parameters of a mounted filesystem can be examined and modified using the xfs_growfs(8) command.
OPTIONS -e Enables unwritten extent support on a filesystem that does not already have this enabled (for legacy filesystems, it can't be dis-
abled anymore at mkfs time).
-f Specifies that the filesystem image to be processed is stored in a regular file at device (see the mkfs.xfs -d file option).
-j Enables version 2 log format (journal format supporting larger log buffers).
-l Print the current filesystem label.
-u Print the current filesystem UUID (Universally Unique IDentifier).
-c 0|1 Enable (1) or disable (0) lazy-counters in the filesystem. This operation may take quite a bit of time on large filesystems as the
entire filesystem needs to be scanned when this option is changed.
With lazy-counters enabled, the superblock is not modified or logged on every change of the free-space and inode counters. Instead,
enough information is kept in other parts of the filesystem to be able to maintain the counter values without needing to keep them
in the superblock. This gives significant improvements in performance on some configurations and metadata intensive workloads.
-L label
Set the filesystem label to label. XFS filesystem labels can be at most 12 characters long; if label is longer than 12 characters,
xfs_admin will truncate it and print a warning message. The filesystem label can be cleared using the special "--" value for label.
-U uuid
Set the UUID of the filesystem to uuid. A sample UUID looks like this: "c1b9d5a2-f162-11cf-9ece-0020afc76f16". The uuid may also
be nil, which will set the filesystem UUID to the null UUID. The uuid may also be generate, which will generate a new UUID for the
filesystem.
The mount(8) manual entry describes how to mount a filesystem using its label or UUID, rather than its block special device name.
SEE ALSO mkfs.xfs(8), mount(8), xfs_db(8), xfs_growfs(8), xfs_repair(8), xfs(5).
xfs_admin(8)
Hi all.
I'm a newbie of bash scripting.
I need to create a script to have a rotate backup with 5 USB DISK on a work week.
With e2label, I've labelled all disk with all day of the week ( e.g. Monday, Tuesday, Thursday,... ).
How can I read if I've plugged the right device ?!?!
I find... (3 Replies)
i have installed rhel5 quite many times.......
when i see grub.conf after installation, somtimes "kernel /boot/vmlinuz-2.6.18-8.el5 ro=LABEL=/ rhgb quiet" will be there or "kernel /boot/vmlinuz-2.6.18-8.el5 ro=LABEL=/1 rhgb quiet" will be there................
what is the significance of label=/... (1 Reply)
Hi everybody,
I work with UNIX-AIX OS, I have to install db2 connect , somebody could explain to me how to create a Filesystem?, user, group, and password? ( I read a little and I know there many types of Filesystems) I have no idea how to do it,
Linux version 2.6.18-92.el5... (2 Replies)
Hi, I am not familiar with Shell scripting whatsoever and found this script from a Russian site for audio sampling in osx 10.4.11.
The script is designed to convert a .cue file to a label.txt in the same directory as the .cue file for use in Audacity.
When trying to run this in Terminal im... (8 Replies)
Hi guys, I am total newbie to Linux / Ubuntu but trying it to solve the problem I have.
I have an OKI printer with bad HDD and trying to clone one from the same HDD from working printer. Board it goes on has a Fiery chipset and system used is Linux based / related - to the best of my knowlege. I... (12 Replies)
Hi,
I have presented a LUN from my EVA 4400 to a RHEL server.
The server sees 4 paths to the LUN which I can see from fdisk.
If I want to add this LUN to my OS i.e.
# fdisk /dev/sd???
....which actual device do I run fdisk against?
I am running multipath so is there... (12 Replies)
Hi gurus,
Need your help ,
Am facing some issue with one of the ext3 file system.while rebooting it failed to mount fs after running fsck i tried manuall but still no luck.However i made the machine up but am unable to mount file system can some one please help me.
root@vm258902]~# cat... (2 Replies)
I accidently deleted fstab file from one of the compute nodes of the cluster (RHEL 5.3). Due to this no filesystem/directory is mounted on the system during bootup. I started system in rescue mode but it says You don't have any linux partitions. Press return to get a shell. The system will reboot... (2 Replies)