[SOLVED] Converting the var partition filesystem from ReiserFS to ext4
Hi,
I have a system that still uses ReiserFS for its /var partition. It gives me some performence problems which make me want to convert it to the newer ext4. Can it be done without reinstalling the entire system? and if so, how?
Last edited by Greenstuff (2013-10-05 14:01:41)
Boot to a live environment.
Mount the var partition and copy somewhere or tar it up.
Umount the var partition.
Format the old var partition to ext4.
Mount the newly formatted var partition.
Copy back or untar the archive.
Reboot.
EDIT: Make sure you adjust the fstab in the root partition before you reboot!
Last edited by graysky (2013-10-05 15:14:31)
Similar Messages
-
Please convert the attached vi's from V8.6 to V8.5
Hi,
Please convert the attached vi's from V8.6 to V8.5.
Thanks so much!
Ed
Solved!
Go to Solution.
Attachments:
COMSelect_86.zip 21 KBHere you go.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
COMSelect_85.zip 20 KB -
Unable top convert the status of idoc from 03 to 12
Hi experts,
I am working on idoc scenario on ECC6.0.I am pushing the idoc from R/3 system to PI7.0.I have done all the prerequisites involved to pushing idoc-----
maintain Rfc destinations,maintain port,partner profile,distribution model....
But when i am pushing the reduced idoc from sender it's showing the status 03.when i am running RBDMOIND in se38 still it is not getting converted into 12.
kindly help me how can I convert the status from 03 to 12.
Thanks in advance.
Regards,
Naresh.KHi Naresh
you have to create the service. Create first the technical system and the business system in the SLD. Look for the right "Logical System" (Transation SALE in R3).
In the Integration Builder Directory go to "Environment/Clear SLD Data" and create the service by "Objects/Service without party/Business System/Assign Business System".
Hope this will solve your Querry
Thanks !!
Questions are welcome here!!
<b>Also mark helpful answers by rewarding points </b>
Regards
Abhishek Agrahari -
[Solved]Replaced my /var partition (with dd) and am having boot issues
I recently got a new hard drive and have split /var and root across the two drives. However now I am having issues booting the computer. Each boot it mounts the /var and /home partition (both of which are on the new drive) and hangs for a large period of time before booting. (it does eventually boot fine)
The reliant section of journalctl is:
an 05 04:54:33 ArchPC systemd[1]: Started Trigger Flushing of Journal to Persistent Storage.
Jan 05 04:54:34 ArchPC systemd[1]: Started Load Random Seed.
Jan 05 04:54:34 ArchPC systemd[1]: Started Recreate Volatile Files and Directories.
Jan 05 04:55:58 ArchPC systemd[1]: Job dev-disk-by\x2duuid-e6fa1ae1\x2d5579\x2d439d\x2d94cc\x2d11b2c0e67070.device/start timed out.
Jan 05 04:55:58 ArchPC systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-e6fa1ae1\x2d5579\x2d439d\x2d94cc\x2d11b2c0e67070.device.
Jan 05 04:55:58 ArchPC systemd[1]: Dependency failed for /dev/disk/by-uuid/e6fa1ae1-5579-439d-94cc-11b2c0e67070.
Jan 05 04:55:58 ArchPC systemd[1]: Job dev-disk-by\x2duuid-e6fa1ae1\x2d5579\x2d439d\x2d94cc\x2d11b2c0e67070.swap/start failed with result 'dependency'.
Jan 05 04:55:58 ArchPC systemd[1]: Job dev-disk-by\x2duuid-e6fa1ae1\x2d5579\x2d439d\x2d94cc\x2d11b2c0e67070.device/start failed with result 'timeout'.
Jan 05 04:55:58 ArchPC systemd[1]: Starting Swap.
Jan 05 04:55:58 ArchPC systemd[1]: Reached target Swap.
However I am not sure where this could be, unless it is attempting to mount my windows partition?
As a side note, during this I also moved my windows install to the same drive as my root and it will no longer boot from ether its new or original drive.
Thanks.
Last edited by jarrah-95 (2013-01-04 09:24:59)Jarrah-95,
Thanks for your 'solution' post. I had a problem on boot with the boot process 'stalling' with a "recreate volatile files and directory" message that would after about a 30 second delay eventually finish the boot process. Based on your post I ran 'blkid' and discovered my 'swap' partition in my /etc/fstab file had the wrong UUID for the 'swap' entry.
After entering the 'correct' 'swap 'UUID', the boot cycle is restored and fast as ever. Back to the basics wins again.
Next task is to find out how I created the mistake.
best regards,
marvinudy -
Is it possible to convert the Dialog Resource File from Windows .rc to Mac .r ?
Hello,
I have been working my way through the ADM Programmer's Guide and Reference, found at http://partners.adobe.com/public/developer/en/acrobat/sdk/ADMReferenceGuide.pdf
It mentions that the dialog resources must be created using platform-native resource editors. Since my company would like to implement its plugins on both mac and windows, it would be smarter to convert the windows framework .rc file to the mac counterpart .r.
Does anyone know of such a tool? Maybe the compilation process creates a common dialog resource file which could be used once the dialog is created under Visual Studio, etc.
Sincerely, Andreas HaseThe link in this thread is broken, can someone give the title of the thread where converting from .rc to .r is being discussed?
-
Converting the sample model type from USHORT to BYTE
Hi,
We're converting TIFF images into JPEGs and loading them into a database. This works except for cases where the SampleModel datatype of the image is USHORT when it throws:
java.lang.RuntimeException: Only 1, or 3-band byte data may be written.
at com.sun.media.jai.codecimpl.JPEGImageEncoder.encode(JPEGImageEncoder.java:145)
The fact that it is not BYTE data is the problem I think. The image has 3 bands (see image details below this post).
Does anyone know how to convert the USHORT to BYTES? Any other suggestions are also welcomed.
GDAL_INFO tool tells us the following about the image
C:\dmp>gdalinfo OsloQB1_1.tif
Driver: GTiff/GeoTIFF
Files: OsloQB1_1.tif
Size is 7847, 7768
Coordinate System is:
PROJCS["UTM 32 V E012",
GEOGCS["unnamed",
DATUM["unknown",
SPHEROID["unretrievable - using WGS84",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4030"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",9],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (590809.199999999950000,6656298.599999999600000)
Pixel Size = (0.600000000000000,-0.600000000000000)
Metadata:
AREA_OR_POINT=Area
Corner Coordinates:
Upper Left ( 590809.200, 6656298.600) ( 10d37'47.39"E, 60d 2'1.81"N)
Lower Left ( 590809.200, 6651637.800) ( 10d37'39.98"E, 59d59'31.21"N)
Upper Right ( 595517.400, 6656298.600) ( 10d42'51.44"E, 60d 1'57.97"N)
Lower Right ( 595517.400, 6651637.800) ( 10d42'43.65"E, 59d59'27.37"N)
Center ( 593163.300, 6653968.200) ( 10d40'15.62"E, 60d 0'44.62"N)
Band 1 Block=7847x1 Type=UInt16, ColorInterp=Red
Band 2 Block=7847x1 Type=UInt16, ColorInterp=Green
Band 3 Block=7847x1 Type=UInt16, ColorInterp=Bluethat means we are loosing high order bits Of course, you are trying to jam 10 bits into an 8 bit container
so how come the most significant bit is carrying 1 to represent negative value.bytes in java are signed -
I needed to remove the /var partition! now?
Hi, I needed to install windows on my netbook, and since I already had 4 primary partition I had to uninstall the least importat... /var ... now obvsly when i run archlinux it fails checkin the last file system sda4, so what can I do besides installing arch again?
Err, did you backup /var to root? Just remove the entry for /var from fstab then.
If you really removed it, well, good luck recovering your pacman database (among others)...
edit: read-think-write. oh boy.
Last edited by hokasch (2010-10-31 18:27:30) -
Var partition showing incorrect size
So I installed a new system on a new rig last night. Today, I noticed that the /var partition is showing a much smaller size, than what it actually is.
"df -h /var" shows:
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 3,0G 266M 2,6G 10% /var
But "fdisk -l /dev/sda3" as root gives me:
Disk /dev/sda3: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
The 21 gb shown by fdisk is the correct size of the partition, so why on earth will arch only see 3 of those when mounting it as /var?
The relevant fstab entry looks proper to me:
UUID=2a2bb9dd-054c-4a04-810b-9bae86c8ca8f /var ext4 defaults 0 1
And to double check that uuid is correct and pointing to /dev/sda3, I run "ls -l /dev/disk/by-uuid" and get:
lrwxrwxrwx 1 root root 10 May 1 11:41 2a2bb9dd-054c-4a04-810b-9bae86c8ca8f -> ../../sda3
Any clue to what is happening here? Help would be much appreciated.Maybe the files system was not created properly. Try backup your files and reformat or resize with resize2fs.
-
Hi,
i am using the function module to get the amount in words,
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM = TOT
IMPORTING
AMT_IN_WORDS = WA_SPELL
EXCEPTIONS
DATA_TYPE_MISMATCH = 1
OTHERS = 2
but the problem is i get the amount in capital letters
for ex : ONE LAKH TWO Rupees
but i need the o/p in form
ex: One Lakh two RUPEES
how can i convert the case...
kindly helpFor case translation :
TRANSLATE
Variants:
1. TRANSLATE c TO UPPER CASE.
2. TRANSLATE c TO LOWER CASE.
3. TRANSLATE c USING r.
4. TRANSLATE c ...FROM CODE PAGE g1... TO CODE PAGE g2.
5. TRANSLATE f ...FROM NUMBER FORMAT n1... TO NUMBER FORMAT n2.
Depending on whether byte or character string processing is carried out, the operands can only be byte-type or character-type (see Overview).
The syntax check performed in an ABAP Objects context is stricter than in other ABAP areas. See Only character-type fields allowed in string processing.
In some cases, the syntax rules that apply to Unicode programs are different than those for non-Unicode programs.
See String processing
Variant 1
TRANSLATE c TO UPPER CASE.
Variant 2
TRANSLATE c TO LOWER CASE.
Effect
The first variant converts all lowercase letters in c to uppercase. The second variant converts all uppercase letters to lowercase.
Example
DATA letters(3) TYPE C.
MOVE 'abc' TO letters.
TRANSLATE letters TO UPPER CASE.
letters now has the contents 'ABC'.
Note
The classification of upper- and lowercase, and the actual characters used are determined by the current text environment (see SET LOCALE LANGUAGE). Problems may occur when the system converts the characters, if the wrong language has been specified in SET LOCALE LANGUAGE, or if data has been processed that does
Variant 3
TRANSLATE c USING r.
Effect
Replaces all the characters in the field c according to the rule in field r. c1 containscharacter pairs. The second character in each pair replaces the first. If r does not contain a character in c, this character remains unchanged. r can also be a variable.
Example
DATA: letters(20) TYPE C VALUE 'abcabcabcXab',
change(15) TYPE C VALUE 'aXbaYBabZacZ'.
TRANSLATE letters USING change.
letters now contains 'XaZXaZXaZXXaZ'.
Variant 4
TRANSLATE c ...FROM CODE PAGE g1 ...TO CODE PAGE g2.
Parts marked with " ..." are interchangeable
TRANSLATE c TO CODE PAGE g2.
TRANSLATE c FROM CODE PAGE g1.
Instead you can use conversion classes.
Effect
Converts the contents of the field c from character set g1 to character set g2. This variant uses the conversion table g1 to determine the SAP character, which is then used to determine the new character from g2.
Transaction SPAD allows you to display and maintain character sets. If one of the conversion tables does not exist, the runtime error CONVERSION_CODEPAGE_UNKNOWN occurs. Conversion combinations that are maintained as part of the runtime system for performance reasons do not trigger runtime errors, and you cannot change them using Transaction SPAD.
Example
DATA c(72) TYPE C.
TRANSLATE c FROM CODE PAGE '1110' TO CODE PAGE '0100'.
This statement converts the contents of field c from the HP-UX character set to IBM EBCDIC.
Note
Fields with types I, P, F, and X remain unchanged by the conversion. The syntax check only allows character fields for specifying the codepage. However, since the codepage is maintained in table TCP00 as a type N field with length 4, you should use this type.
Variant 5
TRANSLATE f ...FROM NUMBER FORMAT n1 ...TO NUMBER FORMAT n2.
Parts marked with " ..." are interchangeable
TRANSLATE f TO NUMBER FORMAT n1.
TRANSLATE f FROM NUMBER FORMAT n1.
Instead you can use conversion classes.
Effect
Converts the number formats in f. Currently, the number formats '0000' (HP, SINIX, IBM) and '0101' (DEC-alpha OSF) are supported. Other formats trigger the runtime error TRANSLATE_WRONG_NUM_FORMAT . If you omit FROM NUMBER FORMAT or TO NUMBER FORMAT, the system uses the system number format.
Example
DATA: f TYPE F,
hex(2) TYPE X,
nform LIKE tcp00-cpcodepage.
The contents of fields hex and f are stored in /ARCHIV
from another platform. hex is stored in a valid number
form when it is saved, and can therefore be read on
all platforms.
READ DATASET '/ARCHIV' INTO hex.
READ DATASET '/ARCHIV' INTO f.
nform = hex. "Conversion from non-host-specific. HEX into N(4)
TRANSLATE f FROM NUMBER FORMAT nform.
Effect
Converts the contents of f from the nform format of a given platform into the system representation.
Note
This converts fields with types I and F. As in variant 4, you should define the number formats with type N and length 4.
You can display system codepage and number formats using the function module SYSTEM_FORMAT. This allows you to store additional information for archiving purposes.
Note
Performance:
Converting lowercase letters to uppercase (or the other way round) in a 10 byte character field requires around 7 msn (standardized microseconds).
If you use ... c USING c1... to replace two characters of a 10 byte character field,the runtime is around 9 msn. -
I just downloaded DNG converter last night to convert the CR2 (raw) files from my Canon S100. I like that it converts a folder at a time...However, it also converts the JPG files as well, which I don't want it to do.
I did not see a way of specifying which types of files or convert (or omit from the convert). Is there a way?
Thanks in advance.
JohnThat is an excellent question.
With my Nikon SLR, I only shoot RAW images. The ACR with my Photoshop Elements can convert those. I recently bought a Canon S100 for a pocket-sized travel camera. I took it on a trip to New York last week, where I took a bunch of pictures. Since it was a brand-new camera, I wasn't sure how simple it would be to convert RAW images (my version of Elements won't do it, it turns out), so I either shot in JPG or JPG+RAW. The JPG+RAW shots where ones I thought I might want to adjust later. In either case, I have access to the JPG's for all my shots (for quickly throwing onto Facebook or whatever). Obviously I'm in the process of trying to figure out how to process the RAW images. -
R&R - how is the system partition identified?
When trying a full restore of the system partition only (from a backup stored on a network share, selecting "recreate full system" and threafter checking "system drive only"), I get a (German) error message, saying something like
"... the system partition does not exist or could not be found".
Since my R&R backups were created when my notebook was configured with many partitions (linux and windows), the partition scheme in the master boot sector was different. Now I would like to restore the system partition into the C: drive (partition "Windows7_OS") but this partition is not found by R&R. Does anone know how R&R looks for the system partition? If I would know what attributes such a partition needs to have, I could probably "fake" such a partition and R&R would restore my files...I've read your posts. R&R has a limitation that the partition structure of the disk cannot change after you start taking backups. I think at this point, your only hope of recovering your backups is to start with a completely blank HDD (no partitions) that is as big or bigger than your original HDD. This will put R&R into a different mode called "bare-metal" where the partition structure, in addition to the contents, are restored. The way you are doing it now, R&R is trying to restore the contents only, but since the partition structure has changed, this is apparently failing.
Anyway, try using a completely blank HDD and restoring your backup that way. I think it's probably your only hope. -
[SOLVED] ReiserFS on /var partition
Currently I have 4 partitions installed on my arch system
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 14.3G 0 part /
├─sda2 8:2 0 9.6G 0 part /var
├─sda3 8:3 0 972.7M 0 part [SWAP]
└─sda4 8:4 0 208.1G 0 part /home
My root (/), /var, and /home partitions have an ext4 filesystem.
I was wondering how I would format my /var partition and install the reiserFS
Last edited by diligentchaos (2012-12-10 08:03:02)I had to do this in the past because I didn't want reiserfs anymore. So I can confirm that anonymous_user's suggestion works just fine. In fact, with Linux, since everything is a file, you can actually create an entire working copy of your system by simply copying the contents to another storage medium. Just make sure you use something that can correctly preserve the permissions and such.
-
[SOLVED] Cloning boot and var partitions to a new drive for booting
Ok first of all here's my setup:
fakeraid (dmraid) / and home on an OCZ Revodrive
boot with GRUB on a flash drive (since fakeraid doesn't support grub)
var and downloads/media folder on a 500GB WD Caviar drive
When I originally installed Arch I had the Caviar drive in my home server in a RAID5 array, so that's why I opted to install boot and grub on a flash drive simply for booting. Now that I have the drive in my desktop I've cloned the flash drive's partitions and MBR using dd:
#dd if=/dev/sde of=~/MBR.img bs=512 count=1
#dd if=/dev/sde1 of=~/boot.img
#dd if=/dev/sdc1 of=~/var.img
I then backed up my downloads/media partition, then removed the partition table, then used dd to put the img files on the Caviar drive.
#dd if=~/MBR.img of=/dev/sdc bs=512 count=1
#dd of=~/boot.img of=/dev/sdc1
#dd of=~/var.img of=/dev/sdc2
I also created labels for the filesystems and put those in fstab.
I'm able to mount both partitions, however I can't boot from the drive. I get a 'grub hard disk error' (no error number) when I put it as my first drive in the BIOS.
I can still use the flash drive as the first hard drive in the BIOS and boot from it, then it mounts the dmraid root partition and boots successfully. It is also able to mount the var and boot partitions in fstab.
Basically the only problem is that the MBR is somehow wrong. I then tried booting back into an Arch live USB and installing GRUB from the prompt:
grub
grub>setup (hd4,0) (in this case the Caviar drive's boot partition was /dev/sde1
So essentially what I'm asking is how GRUB handles the MBR. Is it specific to the partition table of the drive in which it resides when it's originally installed? For instance, since I had an 8GB flash drive with 2 partitions when I installed GRUB, is the backed up MBR no good for a 500GB drive with 3 partitions?
I have everything backed up so I can start with a fresh /boot and /var if need be....I'm just not sure where to start.
Thanks in advance.
Last edited by DarksideEE7 (2011-02-13 23:25:31)Sorry, I forgot to mention that I tried to install GRUB from the GRUB shell in a live Arch USB. It failed on a few non-critical parts, and succeeded on the last part. I'm going to try again shortly, possibly I did something wrong. GRUB is able to find the stage files using:
#grub
grub>find /grub/stage1
grub> find /grub/stage1
(hd0,0)
(hd5,0)
grub>
(hd0,0) is the desired boot drive, while (hd5,0) is the current bootable flash drive with /boot and GRUB installed.
Here is the output of fdisk -l:
WARNING: GPT (GUID Partition Table) detected on '/dev/sde'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sde: 2000.4 GB, 2000398934016 bytes
256 heads, 63 sectors/track, 242251 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sde1 1 3907029167 1953514583+ ee GPT
Disk /dev/sdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xedb72db9
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 206847 102400 7 HPFS/NTFS
/dev/sdb2 206848 117227519 58510336 7 HPFS/NTFS
Disk /dev/sdd: 40.0 GB, 40018599936 bytes
255 heads, 63 sectors/track, 4865 cylinders, total 78161328 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sdc: 40.0 GB, 40018599936 bytes
32 heads, 32 sectors/track, 76329 cylinders, total 78161328 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb8372fcd
Device Boot Start End Blocks Id System
/dev/sdc1 32 21484543 10742256 83 Linux
/dev/sdc2 21484544 156317695 67416576 83 Linux
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8497e059
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 83 Linux
/dev/sda2 206848 42149887 20971520 83 Linux
/dev/sda3 42149888 976773167 467311640 83 Linux
Disk /dev/dm-0: 80.0 GB, 80035053568 bytes
32 heads, 32 sectors/track, 152654 cylinders, total 156318464 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes
Disk identifier: 0xb8372fcd
Device Boot Start End Blocks Id System
/dev/dm-0p1 32 21484543 10742256 83 Linux
Partition 1 does not start on physical sector boundary.
/dev/dm-0p2 21484544 156317695 67416576 83 Linux
Disk /dev/dm-1: 11.0 GB, 11000070144 bytes
255 heads, 63 sectors/track, 1337 cylinders, total 21484512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes
Alignment offset: 49152 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 69.0 GB, 69034573824 bytes
255 heads, 63 sectors/track, 8392 cylinders, total 134833152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/sdf: 8086 MB, 8086618112 bytes
249 heads, 62 sectors/track, 1023 cylinders, total 15794176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8497e059
Device Boot Start End Blocks Id System
/dev/sdf1 * 62 200693 100316 83 Linux
/dev/sdf2 200694 15794175 7796741 83 Linux
I'm using dmraid, so just to be clear I've configured the raid using:
#modprobe dm_mod
#dmraid -ay
Then I saw the array stored in /dev/mapper/silXXXXX. I then created partitions for /boot, /, and home. At that time I was hoping to get GRUB working with the AUR package grub2-dmraid. I wasn't able to get it working for some time, so I just went ahead and installed boot and GRUB to a separate USB flash drive.
Here is the output of df -h:
Filesystem Size Used Avail Use% Mounted on
udev 10M 268K 9.8M 3% /dev
/dev/mapper/sil_bgbgdjaddicbp1
11G 5.3G 4.3G 56% /
shm 6.0G 584K 6.0G 1% /dev/shm
/dev/mapper/sil_bgbgdjaddicbp2
64G 38G 23G 63% /home
/dev/sda1 95M 16M 75M 18% /boot
/dev/sda2 19G 142M 19G 1% /var
/dev/sda3 439G 148G 269G 36% /home/l33/Torrents
none 1000M 132K 1000M 1% /tmp
shm 6.0G 584K 6.0G 1% /dev/shm
/dev/sde1 1.8T 1.1T 665G 62% /mnt/Green
and cat /etc/mtab
proc /proc proc rw,nosuid,nodev,noexec,relatime
sys /sys sysfs rw,nosuid,nodev,noexec,relatime
udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=1022975,mode=755
/dev/mapper/sil_bgbgdjaddicbp1 / ext4 rw,noatime,barrier=1,stripe=32,data=ordered
devpts /dev/pts devpts rw 0 0
shm /dev/shm tmpfs rw,nosuid,nodev 0 0
/dev/mapper/sil_bgbgdjaddicbp2 /home ext4 rw,noatime 0 0
/dev/sda1 /boot ext2 rw 0 0
/dev/sda2 /var reiserfs rw,noatime 0 0
/dev/sda3 /home/l33/Torrents ext4 rw,noatime 0 0
none /tmp tmpfs rw,nosuid,nodev,noatime,size=1000M,mode=1777 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,size=6G 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
nfsd /proc/fs/nfsd nfsd rw,noexec,nosuid,nodev 0 0
/dev/sde1 /mnt/Green ext4 rw 0 0
Also I don't have a /proc/mdstat. That's only for mdadm RAID setups, right? It's been quite some time since I've used mdadm so I can't remember.
EDIT:
So I booted into a live Arch USB and entered the grub shell. I ran:
#grub
grub> root (hd3,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd3)
Checking if "/boot/grub/stage1" exists.....no
Checking if "/grub/stage1 exists.......yes
Checking if "/grub/stage2 exists.......yes
Checking if "/grub/e2fs_stage1_5 exists....yes
Running "embed /grub/e2fs_stage1_5 (hd3)".....25 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd3) (hd3))1+25 p (hd3,0)/grub/stage2 /grub/menu.lst".......succeeded
Done.
Last time I recall more errors than this, then it reporting that one was a non-critical error, so I think the problem may be solved. More to come.
Last edited by DarksideEE7 (2011-02-13 23:18:44) -
Thank you for your help!!!
I've created a stored procedure to return results as xml. I'm having trouble figuring out why I'm getting the error message "Conversion failed when converting the nvarchar value '<tr>.....'
to data type int. It seems like the system doesn't know that I'm returning a string... Or, I'm doing something that I just don't see.
ALTER PROCEDURE [dbo].[p_getTestResults]
@xml NVARCHAR(MAX) OUTPUT
AS
BEGIN
CREATE TABLE #Temp
[TestNameId] int,
[MaxTestDate] [DateTime],
[Name] [nvarchar](50),
[Duration] [varchar](10)
DECLARE @body NVARCHAR(MAX)
;WITH T1 AS
SELECT DISTINCT
Test.TestNameId
, replace(str(Test.TotalTime/3600,len(ltrim(Test.TotalTime/3600))+abs(sign(Test.TotalTime/359999)-1)) + ':' + str((Test.TotalTime/60)%60,2)+':' + str(Test.TotalTime%60,2),' ','0') as Duration
,MaxTestDate = MAX(TestDate) OVER (PARTITION BY TM.TestNameId)
,TestDate
,TM.Name
,Test.TotalTime
,RowId = ROW_NUMBER() OVER
PARTITION BY
TM.TestNameId
ORDER BY
TestDate DESC
FROM
Test
inner join TestName TM on Test.TestNameID = TM.TestNameID
where not Test.TestNameID in (24,25,26,27)
INSERT INTO #Temp
SELECT
T1.TestNameId
,T1.MaxTestDate
,T1.[Name]
,T1.Duration
FROM
T1
WHERE
T1.RowId = 1
ORDER BY
T1.TestNameId
SET @body ='<html><body><H3>TEST RESULTS INFO</H3>
<table border = 1>
<tr>
<th> TestNameId </th> <th> MaxTestDate </th> <th> Name </th> <th> Duration </th></tr>'
SET @xml = CAST((
SELECT CAST(TestNameId AS NVARCHAR(4)) as 'td'
, CAST([MaxTestDate] AS NVARCHAR(11)) AS 'td'
, [Name] AS 'td'
, CAST([Duration] AS NVARCHAR(10)) AS 'td'
FROM #Temp
ORDER BY TestNameId
FOR XML PATH('tr'), ELEMENTS ) AS NVARCHAR(MAX))
SET @body = @body + @xml +'</table></body></html>'
DROP TABLE #Temp
RETURN @xml
END
closlYour dont need RETURN inside SP as you've declared @xml already as an OUTPUT parameter. Also you can RETURN only integer values using RETURN statement inside stored procedure as that's default return type of SP.
so just remove RETURN statement and it would work fine
To retrieve value outside you need to invoke it as below
DECLARE @ret nvarchar(max)
EXEC dbo.[P_gettestresults] @ret OUT
SELECT @ret
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How do I get the Recovery partition onto a DVD set from my solid state drive?
My Pavilion dv6 has only a solid state drive. I need to recover and reuse the 23 gb currently partitioned for recovery. To do this I need to move the recovery files off the drive. Can this be done? Where do i find instructions on how to do it?
Thanks,
Bill Wrighttxi wrote: My Pavilion dv6 has only a solid state drive. I need to recover and reuse the 23 gb currently partitioned for recovery. To do this I need to move the recovery files off the drive. Can this be done? Where do i find instructions on how to do it? Thanks, Bill Wright
Hello txi, Your best bet would be to use a hard drive image program and perform a complete hard drive image.
If you have Windows 7 on the SSD this would include the System partition, the C: partition and the D: Recovery partition.
The D: Recovery requires some data from the Master Boot Record (MBR) in order to be accessed.
Just trying to copy the data from the Recovery partition would not be successful if you wanted to use this data later.
By making a hard drive imgae of the entire hard drive, and saving this image on an external hard drive, or a large enough USB drive, you could then delete the D: partition and expand the C: partition to recover the D: partition capacity.
Then if you need to revert back as the system was when the hard drive image was created, the D: partition would be put back on the SSD.
Please click the White Kudos star on the left, to say thanks.
Please mark Accept As Solution if it solves your problem.
Maybe you are looking for
-
Photoshop crash when opening larger files
Hi there, A recently upgraded iMac now running Creative Cloud on Mountain Lion is having an issue where Photoshop crashes upon opening a large file, the log files show it as Photoshop is hanging when infact it has crashed. I have pasted one of the lo
-
here's the code, on the swf's _root: import com.website.package.Application; //Application.Main( this, "Menu" ); even with the second line commented out, we get a big freeze, whole seconds of wait. the movie just completely stops playing, even an onE
-
Kernal Panics since 10.5.1?
Hi, Since updating to 10.5.1 my macbook has suffered 4 kernal panics, it didn't happen once under 10.5.0 or under 10.4, i have reset the p-ram, repaired permissions and fsck-fy is single user mode, is there anything else i can try?
-
Tc kb11n to repost costs from wbs to another wbs
I have some expenditures occured during year of 2010 to transfer to project XXX, then capitalized them. I have the order yyyy (assigned to wbs 9999) need to post to wbs 8888 I tried to use tc KB11N: - scrn var: wbs element/order -input type: individu
-
Where can I get xMII from ?
Hi All, I wanted to install xMII 12.0 or x MII 11.5 but I could not find the setup file for xMII anywhere. I tried on SAP Market Place and I found link there but when I click on that link to download that, it says this links has been disabled. Can so