General :: View A File With Its Inode Nno?

Nov 2, 2010

how can we view a file with its inode nno . eg. cat 12456 where 12345 is the inode of a file

View 3 Replies


ADVERTISEMENT

General :: Find Inode Of A Particular File Using Its Number?

Nov 16, 2010

Can we find the inode of a particular file using its inode number?

The reason is i want to know how many blocks are occupied by specific file.

if we consider block size of 1K.
if the file size is of 100 bytes. In such a case, when the file is
stored on disk, the file will occupy 100 bytes or 1K (since we have
choosen block size to be 1K) ?

View 6 Replies View Related

General :: Remove A File On System Using Inode Number?

May 19, 2010

If you create a file on UNIX/linux with special chars, like touch "la*, you can't remove it with rm "la*. You have to use the inode number(you can if you add the before the name, I know, but you'd have to guess as a user that it was used in the file creation).

I checked the manpage for rm, but there's no metion of the inode number. Doing rm inodenumber doesn't work either.

What is the command for this?

View 4 Replies View Related

Debian :: Error (device Hde1): Ext3_get_inode_loc: Unable To Read Inode Block - Inode=2375715

Mar 25, 2010

I decided to take an old Gateway that I bought off a guy cheaply and turn it into a file and web server.I purchased copies of Debian 5.0.4 i386 disks (31 in all) on the advice of a friend, the disks weren't expensive, but now that Ive installed all the disks, I'm having a variety of errors

[443.110940 end request: I/O error, dev hde, sector 76021855
[443.111074] EXT3-fs error (device hde1): ext3_get_inode_loc: unable to read inode block - inode=2375715, block=9502724
INIT: cannot execute "/sbin/getty"

[Code]..

View 2 Replies View Related

General :: File Privileges - Check And Set Who Can View Or Open A Given Folder Or File?

Jul 30, 2010

How can I check and set who can view or open a given folder or file?

View 1 Replies View Related

General :: View A Particular Ten Lines In A Large File Where Can't Open The File In Vi

May 12, 2010

I am using RHEL 5.I have a very large test file which cannot be opened in vi.The content of the file has some 8000 lines.I need to view ten lines between 5680 to 5690.How can i view these particular lines in a large file.what is command and option i need to use.

View 1 Replies View Related

Ubuntu :: Recover File - Don't Know The Inode Number Of It?

Jan 3, 2010

How can i recover a file if i don't know the inode number of it? Is there a way of scanning the hard drive for inodes that has no reference?

View 1 Replies View Related

Debian :: Recover A Deleted File From Its Inode?

Aug 8, 2010

I was wondering if it was possible to display inodes of deleted files using a command. If yes, is it possible to recover the deleted files from their inodes?

View 1 Replies View Related

Ubuntu :: Resize2fs: "inode Is From A Bad Block In The Inode Table"?

Jul 9, 2010

I was using gparted from a live usb to resize an ext4 partition and it failed while running resize2fs. The error it gave was

Code:
resize2fs: The inode is from a bad block in the inode table while trying to resize /dev/sda5
please run 'e2fsck -fy /dev/sda5' to fix the filesystem after the aborted resize operation.

[code]...

View 1 Replies View Related

General :: View Chm File In Red Hat?

Jan 27, 2010

i have a doubt regarding chm file.how to view chm file in redhat linux EL5

View 4 Replies View Related

Security :: Can I Change Entries In Inode Table Of A File (Linux)

May 19, 2011

Anyone, I would like to ask if it was possible to change the entries of a file's inode table ?

For example

Code...

I was wondering if I can change the entries in this inode table's entries.
For example I want to change the "Modify" entry ? I want it to reflect to day 2009-05-19 for example.

Can i do it ?

View 13 Replies View Related

General :: How To View Chm File In Redhat

Jan 28, 2010

i have a doubt regarding chm file.how to view chm file in redhat linux EL5

View 2 Replies View Related

General :: How To View Image File

Jul 16, 2010

I am working on a linux cluster based on Scientific Linux 5. I have some images in .bmp format. How can i view them from the command line or without downloading to desktop? At present I am connecting from Win7 using Exceed.

View 4 Replies View Related

General :: Only Execute The Rwx And View The File?

Aug 27, 2009

For example, I write the file like in vi or something. I wanna execute but no one read , write and execute but one more thing no one to view the file like encrypt the file.

View 5 Replies View Related

Red Hat / Fedora :: Unlinked Inode, Aborted Journal And Read Only File System?

Apr 7, 2010

I am running centos 5 on adaptec 2405 raid 10

PHP Code:

I get this error:

[code]....

View 9 Replies View Related

General :: View File Ignoring Set Of Lines?

Jun 21, 2010

I'm having a file with repeated particular text lines. So I need to view the file content ignoring these lines. Is there anyway I can achieve this using VI

View 2 Replies View Related

General :: View WINDOW Excel File Without Using GUI?

Nov 14, 2010

view WINDOW excel file without using GUI

View 1 Replies View Related

General :: Way To View The Contents Of A Berkeley DB File?

Jul 1, 2011

As the topic title states, I would like to know the preferred way of viewing the contents of a Berkeley DB file. The machine the file is on is running SuSE 9.3, with perl 5.8.6 and php 5.2.0 installed. (I'm not sure if stating that was necessary, but my understanding is that the more information I can provide you, the better. The purpose to this question is this: I have been requested to look into coming up with some form of Geocoding software for one of my company's clients. Specifically, I've been requested to look into trying to obtain Census tract/block information.

I discovered the Perl module Geo::Coder::US, which uses Census input (TIGERLine files) to create a Berkeley DB file, then reads said file to produce its own output. However, the output from Geo::Coder::US only provides latitude and longitude information.At the moment, my only interest is in popping the Berkeley DB file generated with the import script packaged with the Geo::Coder::US module. I'm trying to see what the contents of that DB file are, so I can determine if the information I'm after is even in there in the first place.

View 2 Replies View Related

General :: Create _ Edit And View A File In System?

Oct 5, 2009

How to I open, create, edit, or view a file in Linux?

View 5 Replies View Related

General :: Windows - View The Unix Permissions Of A File In A .zip Archive?

May 19, 2010

is there a way to view the Unix permissions for a file under Windows?

View 1 Replies View Related

General :: Send Mail To Localhost (ubuntu Server) But When View In Log File

Aug 1, 2010

Could someone check this for me? I tried to send mail to localhost (ubuntu server) but when i tried to view it in log file, it gave me this:

Code:
xanios@ubuntu:~$ tail -f /var/log/mail
tail: cannot open `/var/log/mail' for reading: No such file or directory
tail: no files remaining
in my /etc/postfix/main.cf:
Code:
myhostname = ubuntu
alias_maps = hash:/etc/aliases

[Code]...

View 1 Replies View Related

General :: Effect On Inode While Resizing The LV?

May 22, 2010

In Linux when we resize the partition with the logical volume(LV), how is the inode adjusted?

View 1 Replies View Related

General :: Where Is Inode Table In Ext3

Mar 16, 2010

Where is the inode table located in ext3 file system ? How can I read the entries in it ?

View 4 Replies View Related

General :: Loop Through A DIR To Delete Files By Inode

Feb 9, 2010

I have a directory that contains some files (over a 1,000) that have a '' in the filename. There are also some good files that I need to keep. therefore I need a script to delete based on inode.

What I have thus far:
list="$(ls -il /opt/PC/log/*RPOUT*.xml)" #this gives me the list
# I need to get the inode of.
for i in $list
do
find . -inum $i -exec rm -i {} ;
echo "delete file" $i >> /home/me/tmp/del_inode.txt
done
echo 'completed'

I know this is not right ... what I know is is the 'find' is. I need to loop through the $list gleaning inodes to get all the files with '' delete. I'm not sure how. The $i gives me the whole line. I just want the first position. set $() does not seem to work ...

View 5 Replies View Related

General :: Resize2fs: Can't Read Next Inode While Trying To Resize

Jan 19, 2010

I'm currently in the process of remove a drive from an lvm. I am following this guide

[URL]

and to be honest I have also posted this question at [URL] but I have a fair amount of data at stake here and really need to make sure I'm acting safely. This is certainly not a place to button mash or guess.this is the 2nd drive that I am removing, the first one went off without a problem.However, I just received this error

Code:

resize2fs: Can't read next inode while trying to resize /dev/vg0/lvol0

and I'm not sure what it means or where to go from here. The entire output is

Code:

root@dude:/mnt# resize2fs -p /dev/vg0/lvol0 4466524456k
resize2fs 1.41.4 (27-Jan-2009)
Resizing the filesystem on /dev/vg0/lvol0 to 1116631114 (4k) blocks.

[code]....

View 14 Replies View Related

Red Hat / Fedora :: Inode Table Size And File System Size

Dec 14, 2010

How can we find the maximum size of the inode table and what decides it, and how the maximum size of volume of file system is decided ?

View 4 Replies View Related

General :: Disk Image Starting At Specific Inode?

Mar 9, 2010

I deleted some files on the command line and would like to learn if it's possible to recover them. It's not a terrible thing if they are gone, but I want to see what I can do. The server is configured as a hardware RAID5+1 (ext3, Debian Stable) and I *really* don't want to take a dd of the entire disk.

ls -id gets me the inode value of the directory(155655)

I'd like to create a disk image starting at that specific inode. Then there is the issue of picking an outer boundary of the disk image. I'm hoping there's a dd/ext3 genius out there to advise.

View 1 Replies View Related

General :: Use Inode Hook Functions(inode_alloc_security And Inode_free_security)?

Mar 4, 2010

how to use inode hook functions(inode_alloc_security and inode_free_security)?

View 1 Replies View Related

General :: Resize2fs Seems Stuck At Pass 3 (scanning Inode Table)?

Jun 16, 2011

I have a machine running Arch Linux (2010, I believe) with a 6TB RAID-5 array hooked up to a Highpoint RocketRaid 2320. I've been having issues with the RAID controller's drivers and the latest Linux kernels thanks to the driver not being open-source, and as a result I am migrating the system to Windows Server.Problem is that the 6TB disk originally was comprised only of an ext4 partition.I shrunk the partition down as much as I could, and added a NTFS partition in the empty space so I could start moving files. That went fine. Problem is that now I need to shrink the ext4 partition again, move files, shrink again, etc. The second run through resize2fs is taking way longer than the first pass.It seems to be getting stuck at pass 3:

[root@nar-shaddaa rc.d]# resize2fs -p /dev/sdb3 863000000
resize2fs 1.41.14 (22-Dec-2010)
Resizing the filesystem on /dev/sdb3 to 863000000 (4k) blocks.

[code]....

View 2 Replies View Related

General :: EXT3 FS Error - Unable To Read Inode Block

Feb 8, 2011

I am using Wind River Linux- 2.6.27.18-WR3.0bg_standard. The problem is whenever I execute "reboot, ls, cd" and many other commands the OS prompts me an error-
"end request: i/o error, dev sda, sector "(different sector each time)" and
EXT3-fs error (device sda1):ext3_get_inode_loc:unable to read inode block- inode-4088001, block-4097027
I also executed "dmesg", it also showed similar errors. Has the disk gone bad or the kernel is corrupted?

View 3 Replies View Related







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