Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

e2label(8) [opensolaris man page]

E2LABEL(8)                                                    System Manager's Manual                                                   E2LABEL(8)

NAME
e2label - Change the label on an ext2/ext3/ext4 filesystem SYNOPSIS
e2label device [ volume-label ] DESCRIPTION
e2label will display or change the volume label on the ext2, ext3, or ext4 filesystem located on device. If the optional argument volume-label is not present, e2label will simply display the current volume label. If the optional argument volume-label is present, then e2label will set the volume label to be volume-label. Ext2 volume labels can be at most 16 characters long; if volume-label is longer than 16 characters, e2label will truncate it and print a warning message. It is also possible to set the volume 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.44.1 March 2018 E2LABEL(8)

Check Out this Related Man Page

getvol(1M)						  System Administration Commands						getvol(1M)

NAME
getvol - verifies device accessibility SYNOPSIS
/usr/bin/getvol -n [-l label] device /usr/bin/getvol [-f | -F] [-ow] [-l label | -x label] device DESCRIPTION
getvol verifies that the specified device is accessible and that a volume of the appropriate medium has been inserted. The command is interactive and displays instructional prompts, describes errors, and shows required label information. OPTIONS
The following options are supported: -n Runs the command in non-interactive mode. The volume is assumed to be inserted upon command invocation. -l label Specifies that the label label must exist on the inserted volume (can be overridden by the -o option). -f Formats the volume after insertion, using the format command defined for this device in the device table. -F Formats the volume after insertion and places a file system on the device. Also uses the format command defined for this device in the device table. -o Allows the administrator to override a label check. -w Allows administrator to write a new label on the device. User is prompted to supply the label text. This option is ineffective if the -n option is enabled. -x label Specifies that the label label must exist on the device. This option should be used in place of the -l option when the label can only be verified by visual means. Use of the option causes a message to be displayed asking the administrator to visually verify that the label is indeed label. OPERANDS
The following operands are supported: device Specifies the device to be verified for accessibility. EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 Command syntax was incorrect, invalid option was used, or an internal error occurred. 3 Device table could not be opened for reading. FILES
/etc/device.tab ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) NOTES
This command uses the device table to determine the characteristics of the device when performing the volume label checking. SunOS 5.11 5 Jul 1990 getvol(1M)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

veritas filesystem and volume manager

WHat is the difference between Veritas filesystem and veritas volume manager? Regards (2 Replies)
Discussion started by: knarayan
2 Replies

2. UNIX for Advanced & Expert Users

Transferring users between partitions

Hello All, I'd like to know how can I transfer users from one partition to another. e.g: # cat /etc/fstab gave something like this /fs/garcia ext3 /fs/hendrix ext3 /fs/lennon ext3 These are some of the partitions in my server.Now I ran out of... (4 Replies)
Discussion started by: maybemedic
4 Replies

3. UNIX for Dummies Questions & Answers

/ext2 and /ext3

Hi all, I was installing linux, so i want to know the basic difference between /ext2 and /ext3 filetype.. what is the significance of using /ext2 and /ext3 pls clarify Thanks Vasikaran (2 Replies)
Discussion started by: vasikaran
2 Replies

4. Solaris

ultra 10 boot warning---corrupt label

Hi All, Any idea why i'm having this warning during boot: WARNING: /pci@1f,0/pci@1,1/ide@3/dad@1,0 (dad1): corrupt label - wrong magic number This happens after I added another ide HD and reinstall it from solaris 10 to solaris 8. Thanks in advance. (7 Replies)
Discussion started by: itik
7 Replies

5. Solaris

How can i grow Raid 5 volume in SVM..?

Hello experts.. How can i grow Raid 5 volume in SVM? Thanks in advance.. (2 Replies)
Discussion started by: younus_syed
2 Replies

6. Shell Programming and Scripting

Read from script

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)
Discussion started by: filloweb
3 Replies

7. Filesystems, Disks and Memory

Porting OSE to Linux

Hi, I was trying to port efs_mount(OSE system call) to a LInux.The efs_mount function is used to mount a volume on the indicated device dev.Upon successful completion of this OSE sytem call a volume manager (VM) will be available through which files on this volume are accessed. The Syntax for... (4 Replies)
Discussion started by: roshantraj30
4 Replies

8. Solaris

What is volume in ufsrestore

Hi Gurus, Can you guys please explain what is volume in ufsrestore? Thanks (2 Replies)
Discussion started by: kumarmani
2 Replies

9. Filesystems, Disks and Memory

ext4 - ready for production system?

Gidday, Are you using ext4 for production system? Or is it better to opt for a more conservative strategy, like ext3 for instance? What are your experiences? Thanks in advance, Loïc. (3 Replies)
Discussion started by: Loic Domaigne
3 Replies

10. Red Hat

data resolution

hi all after going through ext3 file system , i understood that data resolution for ext3 FS is 1 second...can i increase it 2 second...? any idea..? (3 Replies)
Discussion started by: sagar_md
3 Replies

11. Solaris

problem in volume resizing in veritas

Hi all i have a veritas volume with the size of 600MB and formatted with vxfs filesystem. I want to grow the filesystem to 700MB. I knew that three ways are there to resize. vxresize, vxvol and vxassit. vxresize works fine. I want to try the same thing with vxvol and vxassist. Can someone tell me... (4 Replies)
Discussion started by: kingston
4 Replies

12. UNIX for Dummies Questions & Answers

Formatting df output

Hi all, Can anyone please suggest how best to handle output from running df where some of the information for a volume/filesystem spread over two lines? Some of my volume/filesytem are NFS mounted and when I run a df, the information is spread over the two lines instead of the usual norm... (4 Replies)
Discussion started by: newbie_01
4 Replies

13. Red Hat

User and Group quota is not working on RHEL6.2 ext4/ext3

Hello! I am in a weird problem of not able to set quota on an ext4 file system. I have setup a logical volume on which this ext4 filesystem resides. It's going to be used by an application for dumping data. But we want to setup quota so that it does not consume all the free space of the lv. The... (5 Replies)
Discussion started by: admin_xor
5 Replies

14. Red Hat

RHEL 5.0 vs RHEL 6.0

marching into the new version of RHEL 6.0... other than ext4 and /boot can be ext4 and "/" root filesystem can be encrypted...I can't see much more new features that are quite significant and practical than RHEL 5.0, kernel is still 2.6.18.xxxx I wonder if it has newer tools to manage... (4 Replies)
Discussion started by: ppchu99
4 Replies

15. Filesystems, Disks and Memory

Removing a PV from a VG that hasn't been used

Hi all, So, I have the following setup: - Ubuntu 12,04 - 1 6TB physical volume (the one with data) - 1 13TB PV (no data... I think?) Here is the story... - I created an ext4 on the 13TB PV, added the 13TB to the VG to make a 13TB volume group. - Everything went fine and then I ran:... (3 Replies)
Discussion started by: hpimentel
3 Replies