Ubuntu :: How Does Filename Gets Mapped To Its Inode
Mar 7, 2010
How does a filename is mapped to its inode ??? If I want to make our own system call and use a filename as argument how can I get its inode ,if I want to use some of member of inode structure in code. Basically I want to get the fd of the file.
View 5 Replies
ADVERTISEMENT
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
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
Jan 23, 2011
$ uname -a
Linux a 2.6.35.10-74.fc14.i686.PAE #1 SMP Thu Dec 23 16:10:47 UTC 2010 i686 i686 i386 GNU/Linux
$ lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch
[Code].....
How can I set a pattern that will output a filename equal to the original filename? E.g.
something.mp3 → something.ogg
And why isn't this implemented in SoundConverter?
PS: {Filename} doesn't work.
View 1 Replies
View Related
Apr 23, 2010
What is the difference between filename and ./filename? Under what circumstances is one preferred to the other?
View 5 Replies
View Related
Apr 6, 2010
I need to split a filename into its filename and extension, so I can append a datestamp to the filename. I'm using bash.
View 8 Replies
View Related
Nov 20, 2009
I've installed ethernet adapter, it is made in china from a manufacturer called FOX. The driver for that adapter is supported for sco linux kernel version 2.4.x and 2.5.x .However, I'm using Centos5 but the OS didn't recognize the adapter alone, so I'm trying to follo instructions on the driver on the attached CD.
The CD contains file named "SC92031.c", the instructions tell me to do the following "Compile the driver source files and it will generate sc92031.o"
View 8 Replies
View Related
Nov 22, 2010
what is the difference between <filename>.rpm and <filename>.src.rpm?
View 2 Replies
View Related
Nov 18, 2009
How can we convert a dynamic library (filename.so) to a static library (filename.a) using gnu gcc . Can we get a static library form a dynamic library . I saw a few post in which the conversion form a static library to a dynamic library is mentioned but, unfortunately, not the other way.
View 4 Replies
View Related
Jun 26, 2011
After pissing around with Kubuntu all evening, I wish I had hair to pull out in screaming frustration. After trying everything from Xbindkeys to animal sacrifices and voodoo spells to get my multimedia keys working, I now find that both the Windows key and the End key are mapped as F14. Problem is that it's the End key opening the K Menu, not the Windows key.
How can two keys get mapped as the same thing?! And how do I get the End key back to just the End key? I'm close to calling it quits on Linux and putting Windows back on my laptop.
View 1 Replies
View Related
Jul 11, 2011
I was playing around with my keyboard shortcuts and accidentally mapped a command to the Ctrl+C shortcut. Now I can't stop programs running in the terminal with Ctrl+C and I have no idea of how to restore this functionality.
View 1 Replies
View Related
Jun 17, 2010
how would i mount mapped linux (ntfs drives) when ubuntu starts
View 2 Replies
View Related
Dec 4, 2010
I have installed Kubuntu 10.10 on a macbook3.1 and everything (almost) is working fine. My sole problem is that the left control key, despite being mapped to:
keycode 37 = Control_L NoSymbol Control_L NoSymbol Control_L
and having the right behavior in the terminal, does nothing on most other applications, like kate, money managers, intelliJ, etc.
It does work properly also on Google Chrome.
View 1 Replies
View Related
Jul 18, 2011
I have installed a new device in linux.If I enter lspci, i can see the information of this device.But, I donot which file in dev is mapped to this device.
View 2 Replies
View Related
Aug 3, 2010
The command cat /proc/PID/maps shows the memory map (virtual addresses) of the process. How these address are actually mapped?
View 3 Replies
View Related
Mar 24, 2011
I'm facing a problem in mapping SAN disks connected through LSI HBAs on my servers, I even unable to list them via hbacmd it shows (HBAAPI[14809]: Encounterd and error loading: /usr/lib/libqlsdm.so) the mapper is showing errors also, below are some details from various logs:
rm.log
HBANYWARE VERSION: 5.0.44.1
(03-21-2011 16:22:09) InitDiagEnv found 0 adapters
(03-21-2011 16:22:09) In LoadRMLibraries
(03-21-2011 16:22:10) HBAAPI found 0 local adapters
(03-21-2011 16:22:10) Local Adapter Count = 0, CNA count = 0
(03-21-2011 16:22:10) Error calling getOperatingMode
fdisk -l - does not show San disks
How can I get my HBAs working, below are the details of my server:
Dell R710
OS: Citrix XenServer Host 5.6.0-31188p
kernel: 2.6.27.42-0.1.1.xs5.6.0.44.111158xen #1 SMP Mon May 3 21:26:51 EDT 2010 i686 i686 i386 GNU/Linux
HBAs: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
View 1 Replies
View Related
Oct 5, 2010
i set up a ubuntu server (10.04) with LDAP, Kerberos and NFS4. Did a set up for a client (ubuntu desktop 10.04 32 / 64) to connect to ldap, kerberos and nfs4-mount. All is working fine except of the idmapping. Some uids are not mapped to names. the entrys, which cannot be mapped, change. so 10 minutes before the uid was mapped to the correct name, after that time (i'm not sure if it's exactly 10 minutes) the name is mapped to nobody. sometimes the gid cannot be mapped too.I mount the nfs-share via nfs4 with sec=krb5 (krb5i or krb5p result in the same problem) and after successfully mounting the device, i type ls -la. i never have problems with getent passwd or with logging in as ldap-user. i get all the entries of the ldap-db and i also get kerberos tickets. All is working fine with nfs3, but i would like to use nfs4 for security-reasons.
if i run the rpc.idmapd with many "-v" i get the following messages in the daemon.log-file:
Code:
....
rpc.idmapd[15953]: nfs4_name_to_uid: calling nsswitch->name_to_uid
rpc.idmapd[15953]: nss_getpwnam: name 'test@DOMAIN.TEST' domain 'DOMAIN.TEST': resulting localname 'test'
rpc.idmapd[15953]: nfs4_name_to_uid: nsswitch->name_to_uid returned 0
code....
the first part is the response to a correct name-to-uid-mapping the second part is a failed one. both user exist, both users have the same ldap-entries (except of the different descriptions, uid and so on). the responses have the same timestamp, so the reply is in (nearly) the same second.
restarting the idmap-daemon every 5 minutes or other workarounds are not practicable in normal operating environment.
View 5 Replies
View Related
Dec 13, 2010
My friends and I want to have a central server where we can share our files. I would like it to be accessible to each client (friend) by simply logging onto their VPN client and have the shared directory appear on their "My Computer" as a hard drive. It will be a Debian Lenny server that is accessed by Windows computers, and they'll be able to read and write whatever they like.
We do this same thing at work, but I don't know where to start. To access the file server at work from home, I just run our VPN client and I have access to all the drives I do at work. This is exactly what I'd like to do, but at my place. I'd like to know what applications I need to get to make this realizable, like if I need to use Apache, Samba, OpenVPN, etc. I can learn fast, I just need direction.
Eventually I want to evolve this project into something more, but I figured this would be a good starting point in learning server applications.
View 3 Replies
View Related
Jan 28, 2011
I am receiving that error through Valgrind, I don't know the meaning of the error so I don't know what to check.
View 2 Replies
View Related
Oct 22, 2010
after migrating my Ubuntu box from 10.4 to 10.10 my middle click button does not work.
If I test using ...
Code:
xinput test <device id>
... all my buttons are mapped but one (the middle click): when I use it nothing is logged in the console.
This is the ouput of my mouse properties:
Code:
~$ xinput list-props 8
Device 'Razer DeathAdder':
Device Enabled (117):1
[Code]....
I use middle click frequently (opening links in new tabs in Firefox or Copy&Paste in terminal)
View 9 Replies
View Related
Jan 20, 2011
I have three 10Gb Fibre PCI ethernet cards and 2 onboard gigabit ports. The two gigabit ports always seem to be mapped to eth0 and eth1. I set the network configuration for eth2, eth3, and eth4 in the /etc/sysconfig/network-scripts/ifcfg-eth# files. Would the NIC in PCI slot 1 always be mapped to eth2, NIC in slot 2 mapped to eth3, and NIC in slot 3 always mapped to eth4?
View 1 Replies
View Related
Sep 28, 2010
I am trying to connect the one of server RHEL5.4 to the IBM iSCSI storage. Server is equipped with 2 single port Qlogic iSCSI HBA(TOE). RHEL detected the HBA and installed driver itself (qla3XXX). I have configured the HBA ip address in the range of iSCSI host port of storage. Both of the HBA is connecting to the two different controller of storage. I have discovered the storage using command iscsiadm -m discovery command for both of the controller and it went through fine. But problem is whenever server is restarting if both of the hba is connected to the storage then server will not detect the volumes which is mapped to the server and then to detect the volume I need to run "mppBusRescan" and "vgscan" command each time. If only one path is connected it is fine.
View 1 Replies
View Related
Jun 14, 2010
I have a peer-to-peer network with 25 WinXP Pro computers. I have built a Linux (SuSE) server for the purpose of backing up My Documents, PST files and favourites. Each user has their own folder containing the sync'd files. Each folder is password protected. I have configured each users machine with a mapped 'S' drive, which is the sync'd data folder on the Linux computer. All of the computers seem to end up with a "disconnected network drive" status after either logging out for the day or after some time has elapsed. Some will connect with a double click but others prompt for a password. I have tried mapping the drive using the option "Connect using a different user name", which is fine until the user logs out and back in again. I use SyncToy as a scheduled task, but can't connect to these mapped drives automatically, so the sync process will not work unattended.
View 3 Replies
View Related
Feb 4, 2009
I have a redhat server with SAMBA file services. I have copied all the users files into their respective home directories and mapped a network drive to their folders. However, when I try to access a file in those folders the machine reboots itself. There are no error messages or anything, it just reboots!
View 2 Replies
View Related
Nov 15, 2010
command to show the luns mapped to redhat enterprise server 6.1 host. And how do i known the WWNN for the FC HBA attach to the host.
View 6 Replies
View Related
Mar 26, 2010
create a profile settings and network drive can be mapped automatically when user login to the (like Domain and active user profile on windows environment) Ubuntu systems?
View 1 Replies
View Related
Feb 3, 2010
In my project, there is a requirement for adding one more attribute for file properties which keeps track of previous file copies(Copy history).
So how can we accomplish this?
can we add/store this information in inode structure?
View 5 Replies
View Related
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
Jul 1, 2010
I was rather intrigued by the large number of xfs bug fixes in the recent kernel update for Lucid.
Code:
aptitude changelog linux-image-2.6.32-23-server | grep -c xfs:
20
20!
Poking around reveals that one Dave Chinner, Principal Engineer -- SGI Australian Software Group, submitted a series of patches to deal with preventing the flushing of stale inodes. I'm trying to figure out just how relevant those patches are to the stability of XFS, especially to pre-Lucid Ubuntu systems: are they in danger of data loss? Some quick search results thrown together in an effort to asses this issue:[URL]..Quote:
Dave Chinner (9):
xfs: Don't flush stale inodes
xfs: Ensure we force all busy extents in range to disk
xfs: reclaim inodes under a write lock
xfs: Avoid inodes in reclaim when flushing from inode cache
[Code]...
View 1 Replies
View Related
Jun 28, 2010
I'm running a small development server on Ubuntu 10.04 server 64 bit with ext4 as the File system type.
I keep on getting wrong block / inode size when I do an fsck:
Code:
I then force an fsck and the problem is solved, but given a day or two, the problem is back. This can sometime consume up to 10G of my HDD space.
Code:
View 3 Replies
View Related