New answers tagged

3

Mounting a filesystem with user_xattr enables support for extended user attributes. These are a specific type of extended attributes; from attr(5): Extended user attributes may be assigned to files and directories for storing arbitrary additional information such as the mime type, character set or encoding of a file. The access ...


0

The default journal size is 128MB, and the default inode tables occupy 2MB for every 128MB. So if you want 4096MB of actual storage space, you need to allocate enough space for 128MB of journal, and 4096/126 128MB blocks (rounding up), i.e. 33 blocks, or 4224MB, for a total of 4352MB. This will give you slightly more than 4096MB of usable storage (precisely, ...


2

You filesystem does have exactly the same size as the LV: mkfs.ext4 says 262144 inodes, 1048576 blocks which is 4GB. The missing 192MB are accounted for by the journal (128MB) and the filesystem data structures (superblocks and backups). Why are there so many different ways to measure disk usage? has lots more detail.


0

Install the latest VLC media player and play the video without problem. Follow these instructions: For CentOS/Redhat Entrprise Linux 7: rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm For CentOS/Redhat Entrprise Linux 6: rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm ...


1

I'd suggest forcing a fsck: sudo touch /forcefsck and then reboot. But before you do that, make sure you have backups — especially now since you can still access the contents of your filesystem. debugfs does support LVM-backed filesystems, it simply uses whatever block device you give it (or even a file). Presumably one of the blocks you reallocated was in ...


1

man mkfs.ext4 The defaults of the parameters for the newly created filesystem, if not overridden by the options listed below, are controlled by the /etc/mke2fs.conf configuration file. Ubuntu host, cat /etc/mke2fs.conf [defaults] base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr default_mntopts = acl,user_xattr ...


0

$ /sbin/mkfs.ext4 test1 mke2fs 1.42.12 (29-Aug-2014) Discarding device blocks: done [...] Now there's a hint. Let's see what the manual says: -E extended-options discard Attempt to discard blocks at mkfs time (discarding blocks initially is useful on solid state devices and sparse / thin-provisioned storage). When the device advertises that ...


1

You have probably mistake somewhere. Either: You're trying to remove the file as unprivileged user, The file has file attributes: see them with lsattr ldlinux.sys, The directory you're trying to remove file from has file attributes, see them: lsattr . (in directory containing ldlinux.sys). Other conditions may apply, for example readonly filesystem, but ...



Top 50 recent answers are included