E2LABEL(8) System Manager's Manual E2LABEL(8)NAME
e2label - Change the label on an ext2/ext3/ext4 filesystem
e2label device [ new-label ]
e2label will display or change the filesystem label on the ext2, ext3, or ext4 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).
e2label was written by Theodore Ts'o (email@example.com).
e2label is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.
SEE ALSO mke2fs(8), tune2fs(8)E2fsprogs version 1.41.14 December 2010 E2LABEL(8)
Check Out this Related Man Page
E2UNDO(8) System Manager's Manual E2UNDO(8)NAME
e2undo - Replay an undo log for an ext2/ext3/ext4 filesystem
e2undo [ -f ] [ -h ] [ -n ] [ -o offset ] [ -v ] [ -z undo_file ] undo_log device
e2undo will replay the undo log undo_log for an ext2/ext3/ext4 filesystem found on device. This can be used to undo a failed operation by
an e2fsprogs program.
OPTIONS -f Normally, e2undo will check the filesystem superblock to make sure the undo log matches with the filesystem on the device. If they
do not match, e2undo will refuse to apply the undo log as a safety mechanism. The -f option disables this safety mechanism.
-h Display a usage message.
-n Dry-run; do not actually write blocks back to the filesystem.
Specify the filesystem's offset (in bytes) from the beginning of the device or file.
-v Report which block we're currently replaying.
Before overwriting a file system block, write the old contents of the block to an undo file. This undo file can be used with
e2undo(8) to restore the old contents of the file system should something go wrong. If the empty string is passed as the undo_file
argument, the undo file will be written to a file named e2undo-device.e2undo in the directory specified via the E2FSPROGS_UNDO_DIR
WARNING: The undo file cannot be used to recover from a power or system crash.
e2undo was written by Aneesh Kumar K.V. (firstname.lastname@example.org)
e2undo is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.
SEE ALSO mke2fs(8), tune2fs(8)E2fsprogs version 1.44.1 March 2018 E2UNDO(8)
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)
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)
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)
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)