Skip to contentSkip to conversation

convert External Log to Internal Log

DISCUSSION Ling Ho 2 participants 3 messages Apr 28, 2011 – Apr 29, 2011

lore
Share & tools
lore

Ling Ho

author
#0 lore raw

Is there any way to convert from external log to internal log on RHEL 5.6?

I tried running xfs_growfs -i but it complains saying

xfs_growfs: failed to access external log for /dev/sdc

and the man page says -i is not implemented. I am using xfsprogs version 3.1.5.

Thanks,
...
ling

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 1 line · Ling Ho

Is there any way to convert from external log to internal log on RHEL 5.6?

Try dump-mkfs-restore - there's no simple way of converting an existing filesystem. At least, not without highly dangerous offline manual xfs_db surgery that could corrupt the fs....

Quoted 6 lines

I tried running xfs_growfs -i but it complains saying

xfs_growfs: failed to access external log for /dev/sdc

and the man page says -i is not implemented. I am using xfsprogs version 3.1.5.

Yup, not implemented and as such not supported.

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
author
#2 lore raw

Ok. I will go the safe route, recreate the file system, and restore the data.

Thanks,
...
ling

Quoted 10 lines · Dave Chinner
Quoted 1 line · Ling Ho

Is there any way to convert from external log to internal log on RHEL 5.6?

Try dump-mkfs-restore - there's no simple way of converting an existing filesystem. At least, not without highly dangerous offline manual xfs_db surgery that could corrupt the fs....

Quoted 4 lines

I tried running xfs_growfs -i but it complains saying

xfs_growfs: failed to access external log for /dev/sdc

Quoted 7 lines
Quoted 2 lines

and the man page says -i is not implemented. I am using xfsprogs version 3.1.5.

Yup, not implemented and as such not supported.

Cheers,

Dave.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs