Metadata Copy

2012-02-29 Thread Swapnil Gaikwad
Hello,
 I am new in kernel programming. Help me in following.
 I am trying to write module in ext4 filesystem that takes a inode of one
file and copy it's metadata into one new inode. Problem is to how to
request new inode and what are the fields of metadata we can copy. Also
problem with the time created ,modified fields in metadata .

-- 
Regards,

Swapnil Gaikwad.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


System call trace

2012-02-15 Thread Swapnil Gaikwad
Can we see trace of how the system call works?
What are the functions are called in kernel space?
For example we want to trace cp command. Then what are the functions
is get called by that in kernel space? like how the inode allocation
take place for new destination file etc.
Is any tool for that?


-- 
Regards,

Swapnil Gaikwad.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Writing module in kernel 3.1.6

2012-02-12 Thread Swapnil Gaikwad
Hi, I am new to kernel programming, I have written one module to get
vfs inode using path_lookup function in kernel 2.6.35.

Now I am trying to compile same module under kernel 3.1.6 then i got
some errors like ioctl undefined, path_lookup not present i.e  error:
implicit declaration of function ‘path_lookup’
. I have searched and used unlocked_ioctl insted of ioctl.

But I am struggling to find function equivalent to path_lookup as in
new kernel this function dose not exist. Can anyone suggest me proper
function which dose the same job as path_lookup in 3.1.6?
-- 
Regards,

Swapnil Gaikwad.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Data Recovery

2012-01-30 Thread Swapnil Gaikwad
Hi,

I have a Hp laptop with i5 Processor, 640 GB HD. My HD is Crashed due
to damage. It does not have any partition table in it. Then how I can
recover my data from it. Is anybody have some tool that to it? (Note :
Recover My File software showed some files in it, But it requires
license key.  )

-- 
Regards,

Swapnil Gaikwad.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Snapshot in ext4

2012-01-04 Thread Swapnil Gaikwad
Is it is possible to point to other partition's datablocks?

-- 
Regards,

Swapnil Gaikwad.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Snapshot in ext4

2012-01-04 Thread Swapnil Gaikwad
If we store snapshot on other partition and assign new inode to each file's
snapshot. Then datablocks of that partition where we store snapshot is
wasted ? If not how?

-- 
Regards,

Swapnil Gaikwad.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Snapshot in ext4

2012-01-04 Thread Swapnil Gaikwad
Is it is helpful to make some new datastructure that store the metadata of
file in snapshot?



-- 
Regards,

Swapnil Gaikwad.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Internal Data structure of ext4

2012-01-04 Thread Swapnil Gaikwad
Give me details with source code of ext4 filesystem and explain with
various features in details like multiblock allocation, journeling etc.

-- 
Regards,

Swapnil Gaikwad.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Regarding Copy on Write in ext4

2012-01-04 Thread Swapnil Gaikwad
How Copy on Write ( COW )is implemented in ext4?
Help me in understanding design issues in it.
Is anybody have source code of it with proper documentation.

-- 
Regards,

Swapnil Gaikwad.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Snapshot in ext4

2012-01-04 Thread Swapnil Gaikwad
1. Where to place snapshot files in filesystem level snapshot?
2. Is there any issues regarding it?
3. It is helpful to allocate new inode for a file od which snapshot is
taken?


-- 
Regards,

Swapnil Gaikwad.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


help regarding ext4 extend and multiblock allocation

2011-12-28 Thread Swapnil Gaikwad
How the extend is different from block allocation?
How it is implemented in ext4?
How helpful the multiblock allocation in ext4?
Is there is some special cases than ext3 that handled in ext4 for above.

-- 
Regards,

Swapnil Gaikwad.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Metadata snapshot issues

2011-12-23 Thread Swapnil Gaikwad
If we gives new inodes to each file during metadata snapshot. Then is
there any conflicting issue happens?
What are the techniques help us in this?
Is some-one have source code of it?



-- 
Regards,

Swapnil Gaikwad.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Snapshot implementation on ext4 filesystem and fedora or redhat OS

2011-12-18 Thread Swapnil Gaikwad
What are the different design issues, documents,commands,system calls in
kernel and user space?
Is anyone have these details with running source code?
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Taking snapshot in ext4 filesystem

2011-12-17 Thread Swapnil Gaikwad
Hey,
  Anybody help me for theproject on taking snapshot of ext4 filesystem
and related stuff...

-- 
Regards,

Swapnil Gaikwad.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2011-12-15 Thread Swapnil Gaikwad
Hi ,
 Tell me procedure or system call for-
 How to copy metadata of all files in a ext4 filesystem.

-- 
Regards,

Swapnil Gaikwad.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies