General :: Commands To Find Type / MountPoint / File System Id For The Filesystems?

Jan 12, 2010

I need commands which five me the following details abt all the file systems mounted the linux box

type
mount pt
file system id

View 4 Replies


ADVERTISEMENT

General :: Filesystems - Where To Find A Description Of File System Mount Options

Aug 28, 2010

Is there some file in Linux that enumerates and describes mount options for file systems like /etc/services describes ports?

View 2 Replies View Related

General :: Filesystems - How To Find Which Process Had Created Any File

May 16, 2011

Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?

View 2 Replies View Related

CentOS 5 :: Parted - How To Find File System Type

Feb 18, 2010

When I run 'parted' and then type 'print' to see the partitions that are available, I see two entries: /dev/sda1 and /dev/sda2. /dev/sda1 is of ext3 type whereas for /dev/sda2 nothing is specified for file system type. The LVM flags are set for /dev/sda2.

When I tried to resize /dev/sda2, it gives me the error "File system type not recognized". let me know how to find out the file system type of the partition.

View 3 Replies View Related

General :: Filesystems - File System For Removable Storage?

Apr 7, 2011

I have a 500GB external drive I want to use on a couple of Linux systems, and looking for a filesystem for it. External drives are frequently formatted in FAT32, but I don't need to interoperate with Windows and would rather avoid the ugly limited kludge that is FAT.

Since I only need to use it on Linux, I would use ext4 or XFS, but they store ownership information. Ideally, I'd use a proper Unix file system that doesn't track ownership (files are owned by whoever mounts the device, like they are when mounting a FAT32 partition), but I do not know of any file system that does that.What would be a good file system for this disk?

View 2 Replies View Related

General :: Root File System Partitioning - Filesystems ?

Feb 12, 2010

I've been using *Unix systems for many years now, and I've always been led to believe that its best to partition certain dirs into separate FileSystems, off the main root FS.

For instance, /tmp /var /usr etc

Leaving as little as possible on the main / system.

Its so that you don't fill up the root system be accident, by some user putting in too bigger files in /tmp, for example.

I would presume that filling the / system would not be too good for Linux, as it would not be able to write logs and possibly other things that it needs to.

I believe that if root gets full, then there is something like a 5% amount saved for just 'root' to write to, so that it can do its stuff.

However, eventually, / will become full, and writes will fail.

On top of this, certain scripting tools, such as awk, use the /tmp/ system to store temp files in, and awk wont be able to write to /tmp/ as its full, so awk will fail.

However, I'm being advised that there is no need to put /tmp /var etc onto separate FSs, as there is no problem nowerdays with / filling up. So, /tmp /var /usr are all on the root FS.

I'm talking about large systems, with TBs of data (which is on a separate FS), and with a user populations of around 800-1000 users, and 24/7 system access.

View 2 Replies View Related

Ubuntu :: Changing File System Type To Another Filesystem Type - Does It Effect On Data?

Feb 4, 2011

In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5

previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal

After doing(changing the file system)this one ,i couldnt see the d:drive data

By doing that

1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.

2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.

Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)

I had very imp data in d:drive

View 1 Replies View Related

General :: Accidentally Type Concatenate Large File On Remote System

May 6, 2010

Every once in a while on a computer I'm ssh'd into, I will accidentally type "cat largefile.txt" and my screen will start rushing with text for the next 10 minutes. I'm always working in a screen session, so my current solution is to just log out and then log back in, and since it can go 100X faster when I'm logged out, it'll finish in the short time it takes me to type my password in again. Is there a better way? Either involving the fact I'm in a screen session? Or a way to do this within SSH? What doesn't work: detaching from the screen session (doesn't respond until file is done outputting) trying command to move to a different window in the screen session (also doesn't respond) typing ctrl+C to kill cat command (also doesn't respond, probably because the command is done and the buffers just have to catch up).

View 3 Replies View Related

General :: Identify File System Type From The Output Of Fdisk Command?

Nov 16, 2010

The output of my fdisk command is as follows :-zodiac@gml-admin:~$ sudo fdisk -l[sudo] password for zodiac: Disk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe30ce30c

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 4752 22437838 f W95 Ext'd (LBA)

[code]...

View 2 Replies View Related

General :: GRUB Legacy - Unable To Determine The File System Type?

Dec 8, 2010

I had only Arch on an HDD.sda2 was "/".Now it's with Windows XP and sda2 is not a root any more but a container partition wich has sda{5,6,7} in it. I configured the dual boot and it works. It finds Arch and boots it, but not completely. Stops after some time and says: unable to determine the file system type of /dev/sda2. FSTAB is configured, sda{5,6,7} are on their places. So I can't boot Arch. XP boots correctly. What do I do with this error?Also it says: try adding rootfstype=your_filesystem_type to kernel command line.

View 4 Replies View Related

General :: Change To Shell Type That From SH To TCH And Back Again And Lost Coloring Of File System

Nov 18, 2010

after i made the change to my shell type, that from SH to TCH, and back again, i lost my coloring for my file system, if you know what i mean, folders always come in blue, and devices in yellow hope you understand? now everything i do can't seem to differentiated between files colors anymore.

View 7 Replies View Related

General :: Ext4 New File System Mounting Compatibility With The Older Ext3 Type?

Sep 7, 2009

How well is the ext4 new file system mounting compatibility with the older ext3 previous Linux installations ? I refer to Ubuntu 9.04 and the new Fedora 11 which have the option to install with the ext4 file format. Will it be better if I install with the older ext3, so that I will be able to mount all other Linux from each other in a multi-boot system ?

View 6 Replies View Related

General :: Type And Execute Commands In Window From Computer

May 19, 2010

ssh to a machine on my network open up a terminal (gnome, xterm, whatever) and have it visible on that machines display be able to type and execute commands in that window, from my computer. i have kind of achieved this. on machine A, i ssh to machine B. on machine B, i open up a terminal and execute screen, C-a :multiuser on. on machine A, i execute screen -x and connect to the term on B. everything i type from A or B can be seen. i just want to be able to set this up without having to physically be at machine B. does that make sense?

View 7 Replies View Related

Fedora :: Mounting Local Filesystems: Mount: Unknown Filesystem Type 'LVM2_member'

Mar 28, 2011

I just updated Fedora 14 with the updates it downloaded and I am now stuck with the error.

View 10 Replies View Related

General :: Filesystems - Write Files To HFS+ Drive From System?

Aug 22, 2011

Is it possible to write/edit files on HFS+ drive from Linux? Yes I need to disable journaling but how can I disable journaling from Linux? I dont have access to mac.

Or any tool available for doing this?

View 2 Replies View Related

General :: Getting Content-type/Mime Type Of The File Using Shellscript

May 24, 2011

I am copying the file form one directory to another directory using shellscript.

Here i want to get the Mimetype/Content-type of the file.

How to i can get the MimeType.

View 9 Replies View Related

General :: Removing Previously Type Commands At A Remote Server?

Aug 7, 2010

I am ssh'ing into a remote server and then su'ing to root.The problem is that sometimes, I have not paid enough attention to the console message, and I have accidentally typed in the root password at the command prompt (when for example, I had failed to provide the root password correctly the first time - so su prompt went away).

I remember reading somewhere that a history of commands typed at the console is kept somewhere.I have 3 sub questions

Where (which folder) is the file stored?

Can I edit that file and remove the root password from it?

Being the paranoid person that I am, I wonder if there is a more secure way of logging into my server - other than ssh (or am I being TOO paranoid?)

My server is running a headless Ubuntu 10.0.4

View 1 Replies View Related

General :: Debian System Drive Upgrade: Copy Filesystems From MBR Partitions To GPT?

Jan 23, 2010

My home server runs Debian Lenny, and I'm about to upgrade the system drive to a larger drive.In the process, I want to take the opportunity to reorganize the partitions and resize them. For learning purposes, I'm planning to migrate from an MBR partition table to GPT.Because of those two changes, I can't just run "dd if=/old/drive of=/new/drive" (well, not without lots more work afterwards). I could use the debootstrap process to get a fresh installation on the new system drive, but I used that technique during the last system upgrade and it's probably overkill for this.Can I just copy the partitions from the old drive to the new?Will "dd if=/dev/hda1 of=/dev/hdb2" work, assuming /dev/hdb2 is larger than /dev/hda1? (If so, the filesystem can be resized to take advantage of the new larger partition, right?)Would parted (or gparted) be a better tool for copying the contents of the partitions?

View 3 Replies View Related

General :: Filesystems - Convert A Disk Image Into A Sparse File?

Jul 31, 2010

I have a bunch of disk images, made with ddrescue, on an EXT partition, and I want to reduce their size without losing data, while still being mountable. How can I fill the empty space in the image's filesystem with zeros, and then convert the file into a sparse file so this empty space is not actually stored on disk?

For example:

> du -s --si --apparent-size Jimage.image
120G Jimage.image
> du -s --si Jimage.image
121G Jimage.image

This actually only has 50G of real data on it, though, so the second measurement should be much smaller.

This supposedly will fill empty space with zeros: cat /dev/zero > zero.file rm zero.file But if sparse files are handled transparently, it might actually create a sparse file without writing anything to the virtual disk, ironically preventing me from turning the virtual disk image into a sparse file itself. :) Does it? Note: For some reason, sudo dd if=/dev/zero of=./zero.file works when cat does not on a mounted disk image.

View 4 Replies View Related

General :: Filesystems - Best File-systems / Mount-configuration For Each Folder On GNU?

Apr 10, 2011

One of the good points of linux is that is easy to customize the partitioning scheme of the disk and put each directory (/home, /var, etc) in diferent partitions and/or diferent disk. Then we can use diferen file system/configurations for each of them for make them better. xamples:

noatime is a mount option to not write access time on the files. data=writeback is an option to layz write metadata on new files. ext3/4 has journaling that make the partition more secure in case of a crash. bigger blocks make the partition waste more space, but make it faster to read and may become more fragmented. (not sure) Then: What are the best filesystem/configurations for each directory? Note: given the answer of Patches, will only discuss /, /home and /var only.

/var -> It's modified constantly, it write logs, cache, temporal, etc.
/home -> stores important files.
/-> stores everything else (/etc and /usr should be here)

View 1 Replies View Related

General :: Find File By Content On System?

Sep 21, 2011

How to find file by content on linux by command. Example: i want find file contain word "helo" on my computer (OS: LINUX)

View 4 Replies View Related

General :: Find Continuously Growing Files In The File System?

Apr 23, 2010

How to find continuously growing files in the file system?

View 11 Replies View Related

General :: Find And Decrease File System Space For RAC Servers?

Dec 29, 2010

We have recently built some RAC (OS:RHEL55) servers and after the Oracle guys have installed their application, somehow the directory / is using the maximum space. I contacted the Oracle team & they say that their RAC installation doesn't create any files in the / directory. This is the o/p of '/' directory file system:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/datavg-vol2 498M 382M 62M 88% /

Also, when I checked the file sizes, I found that the following files were taking more space:

/etc/selinux/targeted/modules/active/
-rw------ 1 root root 17M Nov1 base.linked

[code].....

I don't know what these files are doing there, when I did a cat and cheked, I found the files containing this data:

nf_tre--

stem_dbusd_var_run_t...and some stuff like this Unable to decide whether or not to remove these files. Also, is there any way to find out what files are taking more space and whether they can be deleted or not? in order to free up some space in the / direcoty. As there are 10 RACs that we've build, I got to do something to fix this for all of the 10 servers.

View 4 Replies View Related

General :: How To Find The /dev/Device Mapping For NFS File System In RHEL

Jun 19, 2010

Found the below from RedHat Knowledgebase

The Completely Fair Queuing (cfq) scheduler in Red Hat Enterprise Linux 5appears to have worse I/O read performance than in version 4. It appears as though the Completely Fair Queuing I/O scheduler (cfq) has a regression and thus exhibits reduced read-side throughput which can affect performance for both local and NFS mounted file systems.

One way to mitigate this is to set the cfq's slice_idle parameter to zero. To change this value, execute the following command echo 0 > slice_idle in the /sys/block directory appropriate for your situation, as shown below:

echo 0 > /sys/block/hda/queue/iosched/slice_idle

We are using NFS file systems in RHEL 5.3. I would like to know how to find which /dev/Device is being used by the NFS file systems, so that I could try setting the slice_idle to '0' to see if there is any difference in performance? In /etc/fstab I only see the actual NAS volumes for the NFS file systems.

View 2 Replies View Related

Hardware :: Motorola BMC 9012 DVR File System Type?

Mar 4, 2009

I have a motorola bmc 9012 dvr and am attempting to connect an external hard drive to it via usb. when i plug in the external hd the dvr recognizes it and wants to format the hd. i let it format the hd but now i can not view the hd from my windows machine. anyone have an idea of what type of file system the dvr formatted the hd with?

View 4 Replies View Related

General :: Ubuntu 11.04 - Unable To Find Medium Containing Live File System

Jul 13, 2011

I'm new to this and I'm sure I've just gone and done something silly. I used pendrivelinux.com's live usb creator to install ubantu 11.04 on my USB. I tried booting my laptop with this, and i get an error message saying "unable to find a medium containing live file system" and I cant get any further than that. The laptop I am using is a Dell XPS with an i7 processor and 6 gigs of memory.

View 6 Replies View Related

Ubuntu :: Change Or Delete Obsolete System File Type

May 23, 2010

I use Markdown to store all of my source documents. Unfortunately, the .md extension maps to application/x-genesis-rom under Ubuntu. I'm not sure why that would be a system default MIME type, but I'd like to change it.

I've tried using:

Code:
gksu assogiate

to modify my file type cache. Unfortunately, even as the SU, I can't modify the entry for this file type. The "Remove" button is inactivated for the entry. (See attachment.)

How can I get rid of this (obsolete?) file association? Alternatively, how can I make my new one (text/x-markdown) take precedence?

View 5 Replies View Related

General :: Find The Type Of A DVD?

Sep 16, 2010

I want to know whether the DVD inserted is a DVD+R, DVD-R, DVD+RW, DVD-RW. I tried using CDRTOOLS but its not displaying the device information instead showing the driver information.

View 1 Replies View Related

Ubuntu :: Mounting A Device If Don't Know The File System Type (e.g Ext3, NTFS)?

Jan 14, 2011

How do I go about mounting a device if I don't know the file system type (e.g ext3, NTFS)?

View 4 Replies View Related

General :: Find Encryption Type?

Nov 12, 2010

I used this password Pass1234 when I search password stored its Nh2yEjhdHIwtY what kind of encryption is used? I thought it was crypt() , but when I create crpypt on my local machine its different.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved