xfsdump INTERRUPT issue
A message that is not in the archive (sent off-list or not yet received): CCE505AA.B05B7%[email protected]
On 12/5/2012 1:07 PM, J. Ellis wrote:
This should never have gone off list so I'm copying back. If you'd have kept this on list you'd have likely already had an answer to this. Going off list for fear of looking ignorant is not a valid reason to do so. In fact there are very few reasons to ever go off list. All it does is take people out of the loop who are watching the thread and may be willing to jump in at some point to help. You've short circuited that by going off list.
Quoted 7 lines
I just read the man page again. There doesn't seem to be any examples I can find to write the dump to a file. I couldn't find a -t option in the man at all, so maybe the ones I'm finding aren't up to date. Here's the only example I can find, and I don't know if this would actually work:
xfsdump -f
/usr/tmp/monday_backup-v silent -J -s \ people/fred/Makefile -s people/fred/Source /usr
This is really simple. Using my previous example, we want to dump to a test file and not update the inventory. So we have something like:
~$ xfsdump -J -f /some_filesystem_path/test_dump /dev/sda6
This dumps the XFS filesystem on /dev/sda6 to a file. Don't write the dump file to the filesystem you're dumping. Preferably the XFS you're dumping is on one disk or array and the target file will be written to a different disk or array. Dumps are IO intensive.
I clearly stated the "-t" option in the context of xfsrestore:
-t Displays the contents of the dump, but does not create or
modify any files or directories. It may be desirable to set the verbosity level to silent when using this option.
This allows you to do a test run without actually writing any files during the restore. The goal here is to test xfsdump and xfsrestore on your system to see where errors are cropping up. You don't actually want to restore the dumped filesystem at this point.
The "-v" option simply keeps the "-t" from spamming a million file names to your console during the restore operation.
Signature · 1 line
Stan
Quoted 26 lines
Quoted 24 lines · on 12/4/12 10:32 PM, Stan Hoeppner at [email protected] wrote:
Quoted 6 lines · J. Ellis
Hi, Stan--
Ok, I truly apologize for my ignorance, but I don't know how to dump the contents to a file. Is it something like:
xfsdump -J - somefile_xfsdump.txt
~$ man xfsdump
Look at option "-f".
Quoted 1 line
xfsrestore -J - somefile_xfsrestore.txt
~$ man xfsrestore
See options "-f" "-t" and "-v".
The point of this exercise I believe is to see what errors are thrown by xfsdump or xfsrestore when they are executed independently, vs through a pipe. Do note that this may not be the final step in testing before you have an answer. Post any errors or informational output that results from these commands.
Quoted 8 lines
Quoted 6 lines
Note that the file written by xfsdump is going to be about the same size as the filesystem being dumped. I.e. if the filesystem being dumped is 1TB then you need 1TB of free space on the device where the target directory resides--you're dumping an entire XFS filesystem into a single file. Also, be sure to use "-t" so xfsrestore doesn't actually write anything. Did you read "-v"?
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Hi, Stan--
You're right. I didn't want to look stupid. Sorry. I'll keep it all on the list from now on.
Thank you for the example. I hope I have this right. So including the -t and -v would be
~$ xfsdump -J -f -t -v /xfsdump_file /dev/sda0
Repeat for each mount point, and post the result here?
Thanks again.
Jeffrey
Quoted 1 line
~$ xfsdump -J -f /some_filesystem_path/test_dump
/dev/sda6
Best,
J.
Quoted 34 lines · Stan Hoeppner
On 12/5/2012 1:07 PM, J. Ellis wrote:
This should never have gone off list so I'm copying back. If you'd have kept this on list you'd have likely already had an answer to this. Going off list for fear of looking ignorant is not a valid reason to do so. In fact there are very few reasons to ever go off list. All it does is take people out of the loop who are watching the thread and may be willing to jump in at some point to help. You've short circuited that by going off list.
Quoted 7 lines
I just read the man page again. There doesn't seem to be any examples I can find to write the dump to a file. I couldn't find a -t option in the man at all, so maybe the ones I'm finding aren't up to date. Here's the only example I can find, and I don't know if this would actually work:
xfsdump -f
/usr/tmp/monday_backup-v silent -J -s \ people/fred/Makefile -s people/fred/Source /usrThis is really simple. Using my previous example, we want to dump to a test file and not update the inventory. So we have something like:
~$ xfsdump -J -f /some_filesystem_path/test_dump
/dev/sda6This dumps the XFS filesystem on
/dev/sda6to a file. Don't write the dump file to the filesystem you're dumping. Preferably the XFS you're dumping is on one disk or array and the target file will be written to a different disk or array. Dumps are IO intensive.I clearly stated the "-t" option in the context of xfsrestore:
-t Displays the contents of the dump, but does not create or
modify any files or directories. It may be desirable to set the verbosity level to silent when using this option.
Quoted 45 lines
This allows you to do a test run without actually writing any files during the restore. The goal here is to test xfsdump and xfsrestore on your system to see where errors are cropping up. You don't actually want to restore the dumped filesystem at this point.
The "-v" option simply keeps the "-t" from spamming a million file names to your console during the restore operation.
Signature · 1 line
StanQuoted 32 lines
Quoted 30 lines · on 12/4/12 10:32 PM, Stan Hoeppner at [email protected] wrote:
Quoted 6 lines · J. Ellis
Hi, Stan--
Ok, I truly apologize for my ignorance, but I don't know how to dump the contents to a file. Is it something like:
xfsdump -J - somefile_xfsdump.txt
~$ man xfsdump
Look at option "-f".
Quoted 1 line
xfsrestore -J - somefile_xfsrestore.txt
~$ man xfsrestore
See options "-f" "-t" and "-v".
The point of this exercise I believe is to see what errors are thrown by xfsdump or xfsrestore when they are executed independently, vs through a pipe. Do note that this may not be the final step in testing before you have an answer. Post any errors or informational output that results from these commands.
Note that the file written by xfsdump is going to be about the same size as the filesystem being dumped. I.e. if the filesystem being dumped is 1TB then you need 1TB of free space on the device where the target directory resides--you're dumping an entire XFS filesystem into a single file. Also, be sure to use "-t" so xfsrestore doesn't actually write anything. Did you read "-v"?
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 7 lines · Jeffrey Ellis
Hi, Stan--
You're right. I didn't want to look stupid. Sorry. I'll keep it all on the list from now on.
Thank you for the example. I hope I have this right. So including the -t and -v would be
~$ xfsdump -J -f -t -v /xfsdump_file
/dev/sda0
No. That's not right. I gave you concise separate instructions for xfsdump and for xfsrestore, and you've commingled the two.
Please thoroughly and thoughtfully re-read my last email.
Signature · 1 line
Stan
Quoted 94 lines
Repeat for each mount point, and post the result here?
Thanks again.
JeffreyQuoted 1 line
~$ xfsdump -J -f /some_filesystem_path/test_dump
/dev/sda6Best,
J.Quoted 34 lines · Stan Hoeppner
On 12/5/2012 1:07 PM, J. Ellis wrote:
This should never have gone off list so I'm copying back. If you'd have kept this on list you'd have likely already had an answer to this. Going off list for fear of looking ignorant is not a valid reason to do so. In fact there are very few reasons to ever go off list. All it does is take people out of the loop who are watching the thread and may be willing to jump in at some point to help. You've short circuited that by going off list.
Quoted 7 lines
I just read the man page again. There doesn't seem to be any examples I can find to write the dump to a file. I couldn't find a -t option in the man at all, so maybe the ones I'm finding aren't up to date. Here's the only example I can find, and I don't know if this would actually work:
xfsdump -f
/usr/tmp/monday_backup-v silent -J -s \ people/fred/Makefile -s people/fred/Source /usrThis is really simple. Using my previous example, we want to dump to a test file and not update the inventory. So we have something like:
~$ xfsdump -J -f /some_filesystem_path/test_dump
/dev/sda6This dumps the XFS filesystem on
/dev/sda6to a file. Don't write the dump file to the filesystem you're dumping. Preferably the XFS you're dumping is on one disk or array and the target file will be written to a different disk or array. Dumps are IO intensive.I clearly stated the "-t" option in the context of xfsrestore:
-t Displays the contents of the dump, but does not create or
modify any files or directories. It may be desirable to set the verbosity level to silent when using this option.Quoted 45 lines
This allows you to do a test run without actually writing any files during the restore. The goal here is to test xfsdump and xfsrestore on your system to see where errors are cropping up. You don't actually want to restore the dumped filesystem at this point.
The "-v" option simply keeps the "-t" from spamming a million file names to your console during the restore operation.
Signature · 1 line
StanQuoted 32 lines
Quoted 30 lines · on 12/4/12 10:32 PM, Stan Hoeppner at [email protected] wrote:
Quoted 6 lines · J. Ellis
Hi, Stan--
Ok, I truly apologize for my ignorance, but I don't know how to dump the contents to a file. Is it something like:
xfsdump -J - somefile_xfsdump.txt
~$ man xfsdump
Look at option "-f".
Quoted 1 line
xfsrestore -J - somefile_xfsrestore.txt
~$ man xfsrestore
See options "-f" "-t" and "-v".
The point of this exercise I believe is to see what errors are thrown by xfsdump or xfsrestore when they are executed independently, vs through a pipe. Do note that this may not be the final step in testing before you have an answer. Post any errors or informational output that results from these commands.
Note that the file written by xfsdump is going to be about the same size as the filesystem being dumped. I.e. if the filesystem being dumped is 1TB then you need 1TB of free space on the device where the target directory resides--you're dumping an entire XFS filesystem into a single file. Also, be sure to use "-t" so xfsrestore doesn't actually write anything. Did you read "-v"?
Quoted 5 lines
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Jeffrey Ellis
Ok.
xfsdump -J -f /xfsdump_file
/dev/sda6
/ isn't a suitable location to write a dump file. Find a suitable location on another filesystem with enough free space to hold the dump.
"xfsdump_file" is an example file name. Use whatever file name you wish.
My example XFS filesystem used for illustration purposes resides on /dev/sda6 on one of my machines. /dev/sda6 is probably not the location of the filesystem you are dumping. On what device does your XFS filesystem reside?
Quoted 1 line
xfsrestore -t -v /xfsdump_file
Just forget the "-v". It'll make things easier.
Quoted 1 line
Then I post the results?
After you get all of the above straightened out.
BTW, if your goal in all of this is simply copying all the directories and files from one disk to another disk, you could have used "cp -a" and been done already. It takes longer to execute than xfsdump/xfsrestore, but given you've been at this for many days now, "cp -a" would have already completed--long ago.
Signature · 1 line
Stan
Quoted 125 lines
Best,
J.Quoted 120 lines · Stan Hoeppner
Quoted 7 lines · Jeffrey Ellis
Hi, Stan--
You're right. I didn't want to look stupid. Sorry. I'll keep it all on the list from now on.
Thank you for the example. I hope I have this right. So including the -t and -v would be
~$ xfsdump -J -f -t -v /xfsdump_file
/dev/sda0No. That's not right. I gave you concise separate instructions for xfsdump and for xfsrestore, and you've commingled the two.
Please thoroughly and thoughtfully re-read my last email.
Signature · 1 line
StanQuoted 93 lines
Repeat for each mount point, and post the result here?
Thanks again.
JeffreyQuoted 1 line
~$ xfsdump -J -f /some_filesystem_path/test_dump
/dev/sda6Best,
J.Quoted 34 lines · Stan Hoeppner
On 12/5/2012 1:07 PM, J. Ellis wrote:
This should never have gone off list so I'm copying back. If you'd have kept this on list you'd have likely already had an answer to this. Going off list for fear of looking ignorant is not a valid reason to do so. In fact there are very few reasons to ever go off list. All it does is take people out of the loop who are watching the thread and may be willing to jump in at some point to help. You've short circuited that by going off list.
Quoted 7 lines
I just read the man page again. There doesn't seem to be any examples I can find to write the dump to a file. I couldn't find a -t option in the man at all, so maybe the ones I'm finding aren't up to date. Here's the only example I can find, and I don't know if this would actually work:
xfsdump -f
/usr/tmp/monday_backup-v silent -J -s \ people/fred/Makefile -s people/fred/Source /usrThis is really simple. Using my previous example, we want to dump to a test file and not update the inventory. So we have something like:
~$ xfsdump -J -f /some_filesystem_path/test_dump
/dev/sda6This dumps the XFS filesystem on
/dev/sda6to a file. Don't write the dump file to the filesystem you're dumping. Preferably the XFS you're dumping is on one disk or array and the target file will be written to a different disk or array. Dumps are IO intensive.I clearly stated the "-t" option in the context of xfsrestore:
-t Displays the contents of the dump, but does not create or
modify any files or directories. It may be desirable to set the verbosity level to silent when using this option.Quoted 44 lines
This allows you to do a test run without actually writing any files during the restore. The goal here is to test xfsdump and xfsrestore on your system to see where errors are cropping up. You don't actually want to restore the dumped filesystem at this point.
The "-v" option simply keeps the "-t" from spamming a million file names to your console during the restore operation.
Signature · 1 line
StanQuoted 32 lines
Quoted 30 lines · on 12/4/12 10:32 PM, Stan Hoeppner at [email protected] wrote:
Quoted 6 lines · J. Ellis
Hi, Stan--
Ok, I truly apologize for my ignorance, but I don't know how to dump the contents to a file. Is it something like:
xfsdump -J - somefile_xfsdump.txt
~$ man xfsdump
Look at option "-f".
Quoted 1 line
xfsrestore -J - somefile_xfsrestore.txt
~$ man xfsrestore
See options "-f" "-t" and "-v".
The point of this exercise I believe is to see what errors are thrown by xfsdump or xfsrestore when they are executed independently, vs through a pipe. Do note that this may not be the final step in testing before you have an answer. Post any errors or informational output that results from these commands.
Note that the file written by xfsdump is going to be about the same size as the filesystem being dumped. I.e. if the filesystem being dumped is 1TB then you need 1TB of free space on the device where the target directory resides--you're dumping an entire XFS filesystem into a single file. Also, be sure to use "-t" so xfsrestore doesn't actually write anything. Did you read "-v"?
Quoted 4 lines
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 3 lines
/ isn't a suitable location to write a dump file. Find a suitable location on another filesystem with enough free space to hold the dump. "
xfsdump_file" is an example file name. Use whatever file name you wish.
That was just an example.
Quoted 4 lines
My example XFS filesystem used for illustration purposes resides on
/dev/sda6on one of my machines./dev/sda6is probably not the location of the filesystem you are dumping. On what device does your XFS filesystem reside?
There are two. /dev/sda0 and /dev/sdb1, IIRC. The first is a blank drive however.
Quoted 3 lines
Quoted 1 line
xfsrestore -t -v /xfsdump_file
Just forget the "-v". It'll make things easier.
So that command is good?
Quoted 5 lines
BTW, if your goal in all of this is simply copying all the directories and files from one disk to another disk, you could have used "cp -a" and been done already. It takes longer to execute than xfsdump/xfsrestore, but given you've been at this for many days now, "cp -a" would have already completed--long ago.
No, I wish it was.
Best,
Jeffrey
Quoted 20 lines · Stan Hoeppner
Quoted 3 lines · Jeffrey Ellis
Ok.
xfsdump -J -f /xfsdump_file
/dev/sda6/ isn't a suitable location to write a dump file. Find a suitable location on another filesystem with enough free space to hold the dump. "
xfsdump_file" is an example file name. Use whatever file name you wish.My example XFS filesystem used for illustration purposes resides on
/dev/sda6on one of my machines./dev/sda6is probably not the location of the filesystem you are dumping. On what device does your XFS filesystem reside?Quoted 1 line
xfsrestore -t -v /xfsdump_file
Just forget the "-v". It'll make things easier.
Quoted 1 line
Then I post the results?
Quoted 138 lines
After you get all of the above straightened out.
BTW, if your goal in all of this is simply copying all the directories and files from one disk to another disk, you could have used "cp -a" and been done already. It takes longer to execute than xfsdump/xfsrestore, but given you've been at this for many days now, "cp -a" would have already completed--long ago.
Signature · 1 line
StanQuoted 125 lines
Best,
J.Quoted 120 lines · Stan Hoeppner
Quoted 7 lines · Jeffrey Ellis
Hi, Stan--
You're right. I didn't want to look stupid. Sorry. I'll keep it all on the list from now on.
Thank you for the example. I hope I have this right. So including the -t and -v would be
~$ xfsdump -J -f -t -v /xfsdump_file
/dev/sda0No. That's not right. I gave you concise separate instructions for xfsdump and for xfsrestore, and you've commingled the two.
Please thoroughly and thoughtfully re-read my last email.
Signature · 1 line
StanQuoted 93 lines
Repeat for each mount point, and post the result here?
Thanks again.
JeffreyQuoted 1 line
~$ xfsdump -J -f /some_filesystem_path/test_dump
/dev/sda6Best,
J.Quoted 34 lines · Stan Hoeppner
On 12/5/2012 1:07 PM, J. Ellis wrote:
This should never have gone off list so I'm copying back. If you'd have kept this on list you'd have likely already had an answer to this. Going off list for fear of looking ignorant is not a valid reason to do so. In fact there are very few reasons to ever go off list. All it does is take people out of the loop who are watching the thread and may be willing to jump in at some point to help. You've short circuited that by going off list.
Quoted 7 lines
I just read the man page again. There doesn't seem to be any examples I can find to write the dump to a file. I couldn't find a -t option in the man at all, so maybe the ones I'm finding aren't up to date. Here's the only example I can find, and I don't know if this would actually work:
xfsdump -f
/usr/tmp/monday_backup-v silent -J -s \ people/fred/Makefile -s people/fred/Source /usrThis is really simple. Using my previous example, we want to dump to a test file and not update the inventory. So we have something like:
~$ xfsdump -J -f /some_filesystem_path/test_dump
/dev/sda6This dumps the XFS filesystem on
/dev/sda6to a file. Don't write the dump file to the filesystem you're dumping. Preferably the XFS you're dumping is on one disk or array and the target file will be written to a different disk or array. Dumps are IO intensive.I clearly stated the "-t" option in the context of xfsrestore:
-t Displays the contents of the dump, but does not create or
modify any files or directories. It may be desirable to set the verbosity level to silent when using this option.Quoted 44 lines
This allows you to do a test run without actually writing any files during the restore. The goal here is to test xfsdump and xfsrestore on your system to see where errors are cropping up. You don't actually want to restore the dumped filesystem at this point.
The "-v" option simply keeps the "-t" from spamming a million file names to your console during the restore operation.
Signature · 1 line
StanQuoted 32 lines
Quoted 30 lines · on 12/4/12 10:32 PM, Stan Hoeppner at [email protected] wrote:
Quoted 6 lines · J. Ellis
Hi, Stan--
Ok, I truly apologize for my ignorance, but I don't know how to dump the contents to a file. Is it something like:
xfsdump -J - somefile_xfsdump.txt
~$ man xfsdump
Look at option "-f".
Quoted 1 line
xfsrestore -J - somefile_xfsrestore.txt
~$ man xfsrestore
See options "-f" "-t" and "-v".
The point of this exercise I believe is to see what errors are thrown by xfsdump or xfsrestore when they are executed independently, vs through a pipe. Do note that this may not be the final step in testing before you have an answer. Post any errors or informational output that results from these commands.
Note that the file written by xfsdump is going to be about the same size as the filesystem being dumped. I.e. if the filesystem being dumped is 1TB then you need 1TB of free space on the device where the target directory resides--you're dumping an entire XFS filesystem into a single file. Also, be sure to use "-t" so xfsrestore doesn't actually write anything. Did you read "-v"?
Quoted 4 lines
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 6 lines · Stan Hoeppner
On 12/5/2012 9:01 PM, Jeffrey Ellis wrote:
BTW, if your goal in all of this is simply copying all the directories and files from one disk to another disk, you could have used "cp -a" and been done already. It takes longer to execute than xfsdump/xfsrestore, but given you've been at this for many days now, "cp -a" would have already completed--long ago.
Unfortunately, using cp or rsync is not possible because the filesystem has a real-time device attached to it. It's basically a ~10GB data device and a ~500GB real-time device. I'd say it's from a DVR or something like that, and that Jeffrey is trying to put a bigger disk in the DVR....
Hence there are various DVR forums that suggest xfsdump/xfsrestore is the best method for copying such filesystems to a larger disk. I'd guess that people haven't found xfs_rtcp, or maybe they saw the caveat in the man page(*) and didn't use it....
Cheers,
Dave.
(*) CAVEATS
Currently, realtime partitions are not supported under the Linux version of XFS, and use of a realtime partition WILL CAUSE CORRUPTION on the data partition. As such, this command is made available for curious DEVELOPERS ONLY at this point in time.
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
That's it exactly. You mean I could use xfs_rtcp?
Best,
J.
Quoted 21 lines · Dave Chinner
Quoted 6 lines · Stan Hoeppner
On 12/5/2012 9:01 PM, Jeffrey Ellis wrote:
BTW, if your goal in all of this is simply copying all the directories and files from one disk to another disk, you could have used "cp -a" and been done already. It takes longer to execute than xfsdump/xfsrestore, but given you've been at this for many days now, "cp -a" would have already completed--long ago.Unfortunately, using cp or rsync is not possible because the filesystem has a real-time device attached to it. It's basically a ~10GB data device and a ~500GB real-time device. I'd say it's from a DVR or something like that, and that Jeffrey is trying to put a bigger disk in the DVR....
Hence there are various DVR forums that suggest xfsdump/xfsrestore is the best method for copying such filesystems to a larger disk. I'd guess that people haven't found
xfs_rtcp, or maybe they saw the caveat in the manpage(*)and didn't use it....Cheers,
Quoted 17 lines
Dave.
(*) CAVEATS
Currently, realtime partitions are not supported under the Linux version of XFS, and use of a realtime partition WILL CAUSE CORRUPTION on the data partition. As such, this command is made available for curious DEVELOPERS ONLY at this point in time.Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 1 line · Jeffrey Ellis
That's it exactly. You mean I could use
xfs_rtcp?
You could, but did you read the caveat and understand what it means?
Cheers,
Dave.
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Gulp. I thought you were suggesting I might still use it in my case.
Best,
J.
Quoted 11 lines · Dave Chinner
Quoted 1 line · Jeffrey Ellis
That's it exactly. You mean I could use
xfs_rtcp?You could, but did you read the caveat and understand what it means?
Cheers,
Dave.
Signature · 2 lines
Dave Chinner [email protected]
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 8 lines · Dave Chinner
Quoted 6 lines · Stan Hoeppner
On 12/5/2012 9:01 PM, Jeffrey Ellis wrote:
BTW, if your goal in all of this is simply copying all the directories and files from one disk to another disk, you could have used "cp -a" and been done already. It takes longer to execute than xfsdump/xfsrestore, but given you've been at this for many days now, "cp -a" would have already completed--long ago.
Quoted 5 lines
Unfortunately, using cp or rsync is not possible because the filesystem has a real-time device attached to it. It's basically a ~10GB data device and a ~500GB real-time device. I'd say it's from a DVR or something like that, and that Jeffrey is trying to put a bigger disk in the DVR....
Ah, yes. I didn't catch the RT volume.
Incidentally, since the real-time feature has never been fully supported under Linux, why are DVR manufacturers even using it? Without GRIO and the XBOW ASIC the real-time volume is pretty much useless isn't it?
Signature · 6 lines
Stan _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 15 lines · Stan Hoeppner
Quoted 8 lines · Dave Chinner
Quoted 6 lines · Stan Hoeppner
On 12/5/2012 9:01 PM, Jeffrey Ellis wrote:
BTW, if your goal in all of this is simply copying all the directories and files from one disk to another disk, you could have used "cp -a" and been done already. It takes longer to execute than xfsdump/xfsrestore, but given you've been at this for many days now, "cp -a" would have already completed--long ago.Quoted 5 lines
Unfortunately, using cp or rsync is not possible because the filesystem has a real-time device attached to it. It's basically a ~10GB data device and a ~500GB real-time device. I'd say it's from a DVR or something like that, and that Jeffrey is trying to put a bigger disk in the DVR....
Quoted 5 lines
Ah, yes. I didn't catch the RT volume.
Incidentally, since the real-time feature has never been fully supported under Linux, why are DVR manufacturers even using it? Without GRIO and the XBOW ASIC the real-time volume is pretty much useless isn't it?
The realtime volume actually has nothing to do with "real-time" at all. What it has is a deterministic allocator (bitmap rather than tree based) which is what you need for real-time applications (i.e. bound worst case performance). It got called the "real-time device" because of the applications it was used for, not because there is anything "real-time" about it. IOWs, you don't need special hardware to take advantage of the properties of the allocator.
DVR manufacturers have decided to use it for 3 reasons:
1. Folklore says you need a RT device for concurrent streaming workloads
2. It's supported upstream
3. It makes it hard for windows users to replace the harddisk in the DVR by themselves (true).
#3 is the case we are seeing here.
Cheers,
Dave.
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 30 lines · Dave Chinner
Quoted 15 lines · Stan Hoeppner
Quoted 8 lines · Dave Chinner
Quoted 6 lines · Stan Hoeppner
On 12/5/2012 9:01 PM, Jeffrey Ellis wrote:
BTW, if your goal in all of this is simply copying all the directories and files from one disk to another disk, you could have used "cp -a" and been done already. It takes longer to execute than xfsdump/xfsrestore, but given you've been at this for many days now, "cp -a" would have already completed--long ago.Quoted 5 lines
Unfortunately, using cp or rsync is not possible because the filesystem has a real-time device attached to it. It's basically a ~10GB data device and a ~500GB real-time device. I'd say it's from a DVR or something like that, and that Jeffrey is trying to put a bigger disk in the DVR....
Quoted 5 lines
Ah, yes. I didn't catch the RT volume.
Incidentally, since the real-time feature has never been fully supported under Linux, why are DVR manufacturers even using it? Without GRIO and the XBOW ASIC the real-time volume is pretty much useless isn't it?
The realtime volume actually has nothing to do with "real-time" at all. What it has is a deterministic allocator (bitmap rather than tree based) which is what you need for real-time applications (i.e. bound worst case performance). It got called the "real-time device" because of the applications it was used for, not because there is anything "real-time" about it. IOWs, you don't need special hardware to take advantage of the properties of the allocator.
Quoted 5 lines
DVR manufacturers have decided to use it for 3 reasons:
1. Folklore says you need a RT device for
concurrent streaming workloads
2. It's supported upstream
Define "support" and "upstream". The few RT related posts over the past years generated responses, some from you I think, that the RT code isn't maintained, hasn't been for a long time. Maybe I've misunderstood.
Quoted 4 lines
3. It makes it hard for windows users to replace the harddisk in the DVR by themselves (true).
#3 is the case we are seeing here.
Yes this seems to be the case.
Quoted 4 lines
Cheers,
Dave.
Signature · 6 lines
Stan _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 33 lines · Stan Hoeppner
Quoted 32 lines · Dave Chinner
Quoted 15 lines · Stan Hoeppner
Quoted 8 lines · Dave Chinner
Quoted 6 lines · Stan Hoeppner
On 12/5/2012 9:01 PM, Jeffrey Ellis wrote:
BTW, if your goal in all of this is simply copying all the directories and files from one disk to another disk, you could have used "cp -a" and been done already. It takes longer to execute than xfsdump/xfsrestore, but given you've been at this for many days now, "cp -a" would have already completed--long ago.Quoted 5 lines
Unfortunately, using cp or rsync is not possible because the filesystem has a real-time device attached to it. It's basically a ~10GB data device and a ~500GB real-time device. I'd say it's from a DVR or something like that, and that Jeffrey is trying to put a bigger disk in the DVR....
Quoted 5 lines
Ah, yes. I didn't catch the RT volume.
Incidentally, since the real-time feature has never been fully supported under Linux, why are DVR manufacturers even using it? Without GRIO and the XBOW ASIC the real-time volume is pretty much useless isn't it?
The realtime volume actually has nothing to do with "real-time" at all. What it has is a deterministic allocator (bitmap rather than tree based) which is what you need for real-time applications (i.e. bound worst case performance). It got called the "real-time device" because of the applications it was used for, not because there is anything "real-time" about it. IOWs, you don't need special hardware to take advantage of the properties of the allocator.
DVR manufacturers have decided to use it for 3 reasons:
Quoted 7 lines
Quoted 3 lines
1. Folklore says you need a RT device for
concurrent streaming workloads
2. It's supported upstreamDefine "support" and "upstream". The few RT related posts over the past years generated responses, some from you I think, that the RT code isn't maintained, hasn't been for a long time. Maybe I've misunderstood.
We've found that over the past few years that there have been a lot of "silent users". While we don't actively develop/improve the RT functionality, maintenance still takes place. That is, we take they patches for the bugs users find and we try not to introduce new bugs as we change stuff. And I do run xfstests with realtime devices every so often - it's just not a high priority.
IOWs, if a vendor wants to ship a product based on the real-time functionality, then that is their choice. It is also their responsibility to ensure what they ship is fit for purpose, which is why they have their own QA.... :)
Cheers,
Dave.
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs